Commit 3474e02e authored by Kenneth Feng's avatar Kenneth Feng Committed by Alex Deucher

drm/amd/pm: support mode1 reset on smu_v14_0_3

support mode1 reset on smu_v14_0_3
Signed-off-by: default avatarKenneth Feng <kenneth.feng@amd.com>
Reviewed-by: default avatarLikun Gao <Likun.Gao@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ade887c6
...@@ -204,6 +204,7 @@ soc24_asic_reset_method(struct amdgpu_device *adev) ...@@ -204,6 +204,7 @@ soc24_asic_reset_method(struct amdgpu_device *adev)
switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) { switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) {
case IP_VERSION(14, 0, 2): case IP_VERSION(14, 0, 2):
case IP_VERSION(14, 0, 3):
return AMD_RESET_METHOD_MODE1; return AMD_RESET_METHOD_MODE1;
default: default:
if (amdgpu_dpm_is_baco_supported(adev)) if (amdgpu_dpm_is_baco_supported(adev))
......
...@@ -1845,6 +1845,8 @@ static int smu_disable_dpms(struct smu_context *smu) ...@@ -1845,6 +1845,8 @@ static int smu_disable_dpms(struct smu_context *smu)
case IP_VERSION(13, 0, 0): case IP_VERSION(13, 0, 0):
case IP_VERSION(13, 0, 7): case IP_VERSION(13, 0, 7):
case IP_VERSION(13, 0, 10): case IP_VERSION(13, 0, 10):
case IP_VERSION(14, 0, 2):
case IP_VERSION(14, 0, 3):
return 0; return 0;
default: default:
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment