mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11
PMFW will handle the features disablement properly for gpu reset case, driver involvement may cause some unexpected issues. Cc: stable@vger.kernel.org # 6.1 Signed-off-by: Tim Huang <tim.huang@amd.com> Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
154711aa57
commit
1538709c9f
1 changed files with 14 additions and 0 deletions
|
@ -1499,6 +1499,20 @@ static int smu_disable_dpms(struct smu_context *smu)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For SMU 13.0.4/11, PMFW will handle the features disablement properly
|
||||||
|
* for gpu reset case. Driver involvement is unnecessary.
|
||||||
|
*/
|
||||||
|
if (amdgpu_in_reset(adev)) {
|
||||||
|
switch (adev->ip_versions[MP1_HWIP][0]) {
|
||||||
|
case IP_VERSION(13, 0, 4):
|
||||||
|
case IP_VERSION(13, 0, 11):
|
||||||
|
return 0;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* For gpu reset, runpm and hibernation through BACO,
|
* For gpu reset, runpm and hibernation through BACO,
|
||||||
* BACO feature has to be kept enabled.
|
* BACO feature has to be kept enabled.
|
||||||
|
|
Loading…
Reference in a new issue