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>
Fri, 9 Apr 2021 20:36:17 +0000 (16:36 -0400)
commite5192f7b4af684e0ba09f8b9ae30cb164bdedde5
tree2c77b0e3a85e37679045215a01b5f102b775b537
parentb98c6299ef992660f5ca4392287a11ea2439c664
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c