Bug 215025

Summary: [amdgpu] Thinkpad A275 hangs on shutdown / screen does not turn on after reboot
Product: Drivers Reporter: Bjoern Franke (bjo)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.15.2 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg

Description Bjoern Franke 2021-11-14 23:33:45 UTC
My Thinkpad A275 hangs while going into suspend. The screen turned off, but it does not really enter suspend mode (according to journalctl it started suspending). Even after reboots the screen does not turn on again, I have to power off the Thinkpad and then power it on again. The issue did not exist with 5.14.x.
Comment 1 Bjoern Franke 2021-11-14 23:37:03 UTC
BTW, iommu is enabled:
[    0.739887] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
Comment 2 Bjoern Franke 2021-11-15 00:15:00 UTC
Tested 5.14.16 - ok
Tried 5.15.0 and 5.15.1 -> don't even boot, the first 3 lines look misarranged.

I will try to bisect between 5.14.16 and 5.15.2.
Comment 3 Bjoern Franke 2021-11-15 10:00:59 UTC
mainline 5.16rc1 is also affected.
Comment 4 Bjoern Franke 2021-11-15 10:12:04 UTC
It seems it is https://gitlab.freedesktop.org/drm/amd/-/issues/1789
Comment 5 Alex Deucher 2021-11-15 17:53:13 UTC
Please include your dmesg output.  Does this patch fix it?
https://patchwork.freedesktop.org/series/96646/
Comment 6 Bjoern Franke 2021-11-15 22:39:33 UTC
Created attachment 299595 [details]
dmesg
Comment 7 Bjoern Franke 2021-11-15 22:40:23 UTC
The patch fixes it, thanks.