commit 76b17a574d89e0da56725729c437dee9aef153a0
Author: Prike Liang <Prike.Liang@amd.com>
Date: Mon Apr 13 21:41:14 2020 +0800
drm/amdgpu: fix the hw hang during perform system reboot and reset
commit b2a7e9735ab2864330be9d00d7f38c961c28de5d upstream.
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: 487eca11a321ef ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This update has been submitted for testing by jforbes.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
Works fine so far. Both the default and the performance test suites pass on my systems:
This update can be pushed to stable now if the maintainer wishes
Default & performance regression tests PASS, "libhugetlbfs" & "paxtest" was skipped. Tested on Fedora 32 Workstation (x86_64), PRIME Z270-A, i5-7600K, 16GB DDR4, RX 580 8GB (MESA 20.0.4) & 970 EVO M.2.
Works well on Thinkpad T440s (i7-4600U), and passed regression test.
This update has been submitted for stable by jforbes.
Hangs on reboot with Gigabyte X399 AORUS 7, ThreadRipper 1950X, and AMD Vega 64. Works fine on 5.6.4.
@vedranm is that reproducible? do you have any logs?
kernel tests fail cachedrop on my DELL Inspiron 3180 11"
Also ran into this with AMD XT 5500 (+ Intel CPU)
This was a regression in kernels 5.5.18 and 5.6.5. Fixed in 5.5.19 and 5.6.6:
https://bugzilla.kernel.org/show_bug.cgi?id=207331
drm/amdgpu: fix the hw hang during perform system reboot and reset
@adamwill Probably fixed in:
@vedranm yup, indeed. thanks for the catch. we will probably pull 5.6.6 into the new RC compose.
OK, so there's an update for 5.6.6:
FEDORA-2020-846d1658b2
can folks please test that ASAP and report any issues they find? Thanks!
This update has been unpushed.