]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:50 +0000 (15:42 -0500)
commite54998c2731e127945e349492dedc6f5e2fc3442
tree3bde08d575b009ea52229773083fdff8d1f37f64
parente2ee143b7a3a1bb34aed56ab04875c434dd83452
drm/amdgpu/vangogh: don't check for dpm in is_dpm_running when in suspend

BugLink: https://bugs.launchpad.net/bugs/1923069
commit 6951c3e4a260f65a16433833d2511e8796dc8625 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c