drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 26 Jan 2022 03:46:58 +0000 (21:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 17:34:10 +0000 (18:34 +0100)
commit8a15ac1786c92dce6ecbeb4e4c237f5f80c2c703
tree00bd8954d05231c4b0bfa5d6b924295f5491b387
parent5cba71707f0a7fe19fa1feaf25a4c094876c2db1
drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled

commit e55a3aea418269266d84f426b3bd70794d3389c8 upstream.

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: e25443d2765f4 ("drm/amdgpu: add a dev_pm_ops prepare callback (v2)")
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1879
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-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>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c