drm/amd/powerplay: fix resume failed as smu table initialize early exit
authorPrike Liang <Prike.Liang@amd.com>
Wed, 15 Apr 2020 13:43:41 +0000 (21:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:46 +0000 (18:11 -0400)
commit4e2fec3321d5c0a80b894c05eb2de51d06fa5c03
treefc7a17ed07327f99fee4b644e2b5d4a064dfcef7
parent53c9c89ac118c93cb5cf352f9cb12a1494715348
drm/amd/powerplay: fix resume failed as smu table initialize early exit

When the amdgpu in the suspend/resume loop need notify the dpm disabled,
otherwise the smu table will be uninitialize and result in resume failed.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/renoir_ppt.c