drm/amd/pm: re-enable the gfx imu when smu resume
authorTim Huang <tim.huang@amd.com>
Wed, 22 Mar 2023 06:39:16 +0000 (14:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 Mar 2023 15:18:53 +0000 (11:18 -0400)
commitf7f28f268b861c29dd18086bb636abedf0ff59ff
treee56335f66204df4a35b49c2cbd04b5e58bb9c01d
parentd2cdc01451973235e2b83ea85493817705a48263
drm/amd/pm: re-enable the gfx imu when smu resume

If the gfx imu is poweroff when suspend, then
it need to be re-enabled when resume.

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