Bug 207331

Summary: commit "drm/amdgpu: fix gfx hang during suspend with video playback" breaks reboot/shutdown
Product: Drivers Reporter: Grzegorz Kowal (custos.mentis)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Severity: normal CC: alexdeucher, bjo, custos.mentis, hagar-dunor, pmenzel+bugzilla.kernel.org
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.6.5 Tree: Mainline
Regression: Yes
Attachments: lspci -vvv

Description Grzegorz Kowal 2020-04-17 19:39:58 UTC
Created attachment 288569 [details]
lspci -vvv

After updating kernel from 5.6.4 to 5.6.5 reboot and shutdown do not work any more. My laptop Lenovo Thinkpad T495 is simply hanging forever with display turned off, but the keyboard backlit and power led on.

I did bisection and it points to

drm/amdgpu: fix gfx hang during suspend with video playback (v2)

kernel stable 5.6.x commit: a1f57b87ddcc869b576aca73608f35cb436c3fdc
kernel stable 5.4.x commit: bdac1d76a310578b3ad081df2db97da59e241010

Indeed, after reverting this commit, both kernels reboot or shutdown properly.
Comment 1 Grzegorz Kowal 2020-04-17 19:40:31 UTC
Created attachment 288571 [details]
Comment 3 Grzegorz Kowal 2020-04-18 12:33:45 UTC
Thanks! I applied the patch and the problem is gone. Both reboot and shutdown work again.
Comment 4 hagar-dunor 2020-04-19 13:18:11 UTC
*** Bug 207347 has been marked as a duplicate of this bug. ***
Comment 5 Grzegorz Kowal 2020-04-21 23:14:11 UTC
Fixed in stable versions 5.6.6 and 5.4.34.