drm/amdgpu/vangogh: don't check for dpm in is_dpm_running when in suspend
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Mar 2021 20:56:07 +0000 (16:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Apr 2021 01:53:38 +0000 (21:53 -0400)
commit6951c3e4a260f65a16433833d2511e8796dc8625
treea492642b843e53fb6c832123d7cd5cc70d1e2d0b
parente92049ae4548ba09e53eaa9c8f6964b07ea274c9
drm/amdgpu/vangogh: don't check for dpm in is_dpm_running when in suspend

Do the same thing we do for Renoir.  We can check, but since
the sbios has started DPM, it will always return true which
causes the driver to skip some of the SMU init when it shouldn't.

Reviewed-by: Zhan Liu <zhan.liu@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c