S3 suspend broken on AMD Ryzen Pro 7 5850U (regression in kernel 6.1)
As discussed in #2171 (comment 1726788), my laptop doesn't suspend correctly anymore on 6.1 kernels. This is with the laptop "standalone" (on battery, no power plug, no dongles).
It does suspend correctly with s0ix ("Windows mode"); this bug is about how it used to work in 6.0 kernels with S3 ("Linux mode") and is now broken.
Hardware description: Thinkpad X13 Gen 2a
- Motherboard:
20XHCTO1WW
- BIOS version:
R1NET51W (1.21)
- CPU:
AMD Ryzen 7 PRO 5850U with Radeon Graphics
- GPU:
Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638]
- System Memory: 32GiB
- Display: primary Panel
- Type of Display Connection: eDP
System information:
- Distro name and Version: Debian sid (as of 2023-01-19)
- Kernel version:
Linux turnagra 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.6-1 (2023-01-08) x86_64 GNU/Linux
, aka6.1.6-1
with only Debian patches - Custom kernel: N/A
- amdgpu firmware version: 20221214
- AMD official driver version: N/A
How to reproduce the issue:
- Boot on 6.1.6-1
- Unlock cryptsetup
- Log in KDE Plasma Wayland session
- Verify that
amd_pmc
is loaded - Hit power button, select "Suspend" (allows to see the screen instead of lid closing)
At that point, the screen goes dark, but blinks back to life once, before going dark again. The power button led stays solidly on (= doesn't go "breathing").
By hitting the button again, the kernel is working (Alt-SysRQ-R works), but the Wayland session cannot become useable.
Attached files:
Happy to assist solving this.
(I see 6.1.7
was just uploaded to Debian unstable. I'll test that again when available.)