提交 26c76387 编写于 作者: E Evan Quan 提交者: Alex Deucher

drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.0/7

PMFW will handle that properly. Driver involvement may cause some
unexpected issues.
Signed-off-by: NEvan Quan <evan.quan@amd.com>
Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 da4d45b7
...@@ -1407,6 +1407,18 @@ static int smu_disable_dpms(struct smu_context *smu) ...@@ -1407,6 +1407,18 @@ static int smu_disable_dpms(struct smu_context *smu)
(amdgpu_asic_reset_method(adev) == AMD_RESET_METHOD_BACO)) || (amdgpu_asic_reset_method(adev) == AMD_RESET_METHOD_BACO)) ||
((adev->in_runpm || adev->in_s4) && amdgpu_asic_supports_baco(adev))); ((adev->in_runpm || adev->in_s4) && amdgpu_asic_supports_baco(adev)));
/*
* For SMU 13.0.0 and 13.0.7, PMFW will handle the DPM features(disablement or others)
* properly on suspend/reset/unload. Driver involvement may cause some unexpected issues.
*/
switch (adev->ip_versions[MP1_HWIP][0]) {
case IP_VERSION(13, 0, 0):
case IP_VERSION(13, 0, 7):
return 0;
default:
break;
}
/* /*
* For custom pptable uploading, skip the DPM features * For custom pptable uploading, skip the DPM features
* disable process on Navi1x ASICs. * disable process on Navi1x ASICs.
...@@ -1444,7 +1456,6 @@ static int smu_disable_dpms(struct smu_context *smu) ...@@ -1444,7 +1456,6 @@ static int smu_disable_dpms(struct smu_context *smu)
case IP_VERSION(11, 0, 0): case IP_VERSION(11, 0, 0):
case IP_VERSION(11, 0, 5): case IP_VERSION(11, 0, 5):
case IP_VERSION(11, 0, 9): case IP_VERSION(11, 0, 9):
case IP_VERSION(13, 0, 0):
return 0; return 0;
default: default:
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册