drm/amdgpu: allow more APUs to do mode2 reset when go to S4
authorTim Huang <tim.huang@amd.com>
Thu, 30 Mar 2023 02:33:02 +0000 (10:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Apr 2023 22:03:11 +0000 (18:03 -0400)
commit980d5baeb25cd65b7a791d7499daa07b34346def
tree3ccb7c28d1dd0fe25c868c5694bfe8b57d5077d9
parent55bf14961db9da61220e6f04bc9919c94b1a6585
drm/amdgpu: allow more APUs to do mode2 reset when go to S4

Skip mode2 reset only for IMU enabled APUs when do S4.

This patch is to fix the regression issue
https://gitlab.freedesktop.org/drm/amd/-/issues/2483
It is generated by commit b589626674de ("drm/amdgpu: skip ASIC reset
for APUs when go to S4").

Fixes: b589626674de ("drm/amdgpu: skip ASIC reset for APUs when go to S4")
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2483
Tested-by: Yuan Perry <Perry.Yuan@amd.com>
Signed-off-by: Tim Huang <tim.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c