drm/amdgpu: move kfd suspend after ip_suspend_phase1
authorEvan Quan <evan.quan@amd.com>
Fri, 24 Apr 2020 07:32:41 +0000 (15:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 May 2020 13:22:14 +0000 (09:22 -0400)
commitc457a273e118bb96e1db8d1825f313e6cafe4258
treec124cdcb6ecf991ddfc26992720fceefdf16ca19
parente3dcd86b3b4c045a4db17c02340138a4c514fe20
drm/amdgpu: move kfd suspend after ip_suspend_phase1

This sequence change should be safe as what did in ip_suspend_phase1
is to suspend DCE only. And this is a prerequisite for coming
redundant cg/pg ungate dropping.

Fixes: 487eca11a321ef ("drm/amdgpu: fix gfx hang during suspend with video playback (v2)")
Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c