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>
Thu, 30 Mar 2023 15:23:58 +0000 (11:23 -0400)
commit2fec9dc8e0acc3dfb56d1389151bcf405f087b10
treee773c6e8d28ef297be21a7704c4baf8f7f8f06ad
parent68dc1846c3a44d5e633be145c169ce2fd5420695
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>
Cc: stable@vger.kernel.org # 6.1.x
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c