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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 May 2020 05:58:19 +0000 (07:58 +0200)
commitc973b108912a1a8889c9835ef97ec1480d3acd17
tree696995ace154c9eb5fefbcc5b6f8f413d1196889
parent8e16ede5b7a1ff2218b528f57a5b7f908a9195a1
drm/amdgpu: move kfd suspend after ip_suspend_phase1

[ Upstream commit c457a273e118bb96e1db8d1825f313e6cafe4258 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c