]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix the hw hang during perform system reboot and reset
authorPrike Liang <Prike.Liang@amd.com>
Mon, 13 Apr 2020 13:41:14 +0000 (21:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Apr 2020 16:48:01 +0000 (12:48 -0400)
commitcc2adf623954bf297802d8288f93a8b333d97d7f
tree09989d67c93bf2057e9e64a15cfbc4568a864de4
parenta75635e5d2b6aa7d860ba99c5f63e2801e52ba25
drm/amdgpu: fix the hw hang during perform system reboot and reset

The system reboot failed as some IP blocks enter power gate before perform
hw resource destory. Meanwhile use unify interface to set device CGPG to ungate
state can simplify the amdgpu poweroff or reset ungate guard.

Fixes: c6e0c510b7f09e ("drm/amdgpu: fix gfx hang during suspend with video playback (v2)")
Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
Tested-by: Paul Menzel <pmenzel@molgen.mpg.de>
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