drm/amd/pm: not stop rlc for IMU enabled APUs when suspend
authorTim Huang <Tim.Huang@amd.com>
Thu, 19 Oct 2023 02:24:11 +0000 (10:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Nov 2023 17:03:31 +0000 (12:03 -0500)
commitd78fa1c309327cee1cfb7c608ec59f5a60ab94bd
tree04cf068ef07039f4a12653d4ab3c3074519c333b
parentc68b4550b6b432cbb05ad30f67178d2d3845d919
drm/amd/pm: not stop rlc for IMU enabled APUs when suspend

For IMU enabled APUs, after sending the PrepareMp1ForUnload message
to SMU in system_features_control, the RLC registers can't be touched.
The driver to stop the rlc in suspending is no longer required.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c