]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Set power ungate state when suspend/fini
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 14 Aug 2018 08:54:15 +0000 (16:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:01 +0000 (11:11 -0500)
commitb898fe5140dc0d64ccec54bdf3ae1d02db51bb46
tree130662a1e11852761a597089a7c7415fff8ca603
parentaf88cf9496ec14abdd09cd52dd914c053a8d4aa5
drm/amdgpu: Set power ungate state when suspend/fini

Unify to set power ungate state at the begin of suspend/fini.
Remove the workaround code for gfx off feature in
amdgpu_device.c.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c