Skip to content

Commit e55a3ae

Browse files
superm1alexdeucher
authored andcommitted
drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled
dGPUs connected to Intel systems configured for suspend to idle will not have the power rails cut at suspend and resetting the GPU may lead to problematic behaviors. Fixes: e25443d ("drm/amdgpu: add a dev_pm_ops prepare callback (v2)") Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1879 Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 30fbce3 commit e55a3ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,8 +2252,7 @@ static int amdgpu_pmops_prepare(struct device *dev)
22522252
* DPM_FLAG_SMART_SUSPEND works properly
22532253
*/
22542254
if (amdgpu_device_supports_boco(drm_dev))
2255-
return pm_runtime_suspended(dev) &&
2256-
pm_suspend_via_firmware();
2255+
return pm_runtime_suspended(dev);
22572256

22582257
/* if we will not support s3 or s2i for the device
22592258
* then skip suspend

0 commit comments

Comments
 (0)