]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdgpu: fix the hibernation suspend with s0ix
authorPrike Liang <Prike.Liang@amd.com>
Tue, 9 Mar 2021 01:34:00 +0000 (09:34 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:30 +0000 (15:42 -0500)
commitb7d1d84456b03e726b076d43766230dff7dd8fd1
treeb15ca19922ffa26a31516f78b70b903f61802db0
parent4a1deda34903168b8b41fb4820484aec4847d93a
drm/amdgpu: fix the hibernation suspend with s0ix

BugLink: https://bugs.launchpad.net/bugs/1922601
commit 9aa26019c1a60013ea866d460de6392acb1712ee upstream.

During system hibernation suspend still need un-gate gfx CG/PG firstly to handle HW
status check before HW resource destory.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Huang Rui <ray.huang@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: Seth Forshee <seth.forshee@canonical.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c