OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Mar 2021 19:18:58 +0000 (15:18 -0400)
commit9aa26019c1a60013ea866d460de6392acb1712ee
tree195b9cc9c4570f7cd86eecf95712995e76c6ebee
parentd27ce83fa4baa5cb908a42e9878564cad6ea0eb3
drm/amdgpu: fix the hibernation suspend with s0ix

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
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c