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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:04 +0000 (23:03 +0900)
commitf455c9cb9eed246e398977d0d14ac57cd34cefeb
tree93af5567bd4d3a0db294139c71874a7f9ff07984
parentd78777c1d4de809d8bc9efc697cb636cbe8e32c2
drm/amd/pm: re-enable the gfx imu when smu resume

commit f7f28f268b861c29dd18086bb636abedf0ff59ff upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c