mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11
commit 730d44e1fa upstream.
For SMU v13.0.4/11, driver does not need to stop RLC for S0i3,
the firmwares will handle that properly.
Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
21614ba608
commit
8abce61273
@@ -1562,9 +1562,9 @@ static int smu_disable_dpms(struct smu_context *smu)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* For SMU 13.0.4/11, PMFW will handle the features disablement properly
|
* For SMU 13.0.4/11, PMFW will handle the features disablement properly
|
||||||
* for gpu reset case. Driver involvement is unnecessary.
|
* for gpu reset and S0i3 cases. Driver involvement is unnecessary.
|
||||||
*/
|
*/
|
||||||
if (amdgpu_in_reset(adev)) {
|
if (amdgpu_in_reset(adev) || adev->in_s0ix) {
|
||||||
switch (adev->ip_versions[MP1_HWIP][0]) {
|
switch (adev->ip_versions[MP1_HWIP][0]) {
|
||||||
case IP_VERSION(13, 0, 4):
|
case IP_VERSION(13, 0, 4):
|
||||||
case IP_VERSION(13, 0, 11):
|
case IP_VERSION(13, 0, 11):
|
||||||
|
|||||||
Reference in New Issue
Block a user