drm/amd/pm: support mode1 reset on smu_v14_0_3

support mode1 reset on smu_v14_0_3

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Kenneth Feng
2024-01-31 15:36:12 +08:00
committed by Alex Deucher
parent ade887c633
commit 3474e02ed5
2 changed files with 3 additions and 0 deletions

View File

@@ -204,6 +204,7 @@ soc24_asic_reset_method(struct amdgpu_device *adev)
switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) {
case IP_VERSION(14, 0, 2):
case IP_VERSION(14, 0, 3):
return AMD_RESET_METHOD_MODE1;
default:
if (amdgpu_dpm_is_baco_supported(adev))

View File

@@ -1845,6 +1845,8 @@ static int smu_disable_dpms(struct smu_context *smu)
case IP_VERSION(13, 0, 0):
case IP_VERSION(13, 0, 7):
case IP_VERSION(13, 0, 10):
case IP_VERSION(14, 0, 2):
case IP_VERSION(14, 0, 3):
return 0;
default:
break;