Lenovo Yoga Pro 7 14ASP9 fails to wake up from suspend mode
Brief summary of the problem:
System fails to wake up from suspend mode on Lenovo Yoga Pro 7 14ASP9. When the system enters suspend mode, the power button indicator continues flashing, but the system remains completely unresponsive to wake attempts via keyboard or power button. This issue occurs consistently and is easily reproducible with kernel version 6.11.5. The system works correctly with nomodeset, suggesting it's an AMDGPU-related issue.
Hardware description:
- Device: Lenovo Yoga Pro 7 14ASP9
System information:
- Distro name and Version: openSUSE Tumbleweed
- Kernel version: 6.11.5
Linux Aoba-Laptop-YOGA 6.11.5 #1 SMP PREEMPT_DYNAMIC Mon Oct 30 22:56:21 UTC 2024 x86_64 GNU/Linux
How to reproduce the issue:
- Boot the system with kernel version 6.11.5
- Put the device into suspend/sleep mode either:
- Via the power menu
- Or using command:
sudo rtcwake -m mem -s 20
- Wait for device to enter suspend (power button light starts flashing)
- Attempt to wake the device using keyboard or power button
- Observe that system remains unresponsive
Attached files:
- dmesg log from kernel 6.11.5: https://pastebin.com/1wafDf2c
- Full hardware probe available at: https://linux-hardware.org/?probe=414716466d
Full Bisect Results:
aoba@Aoba-Laptop-YOGA:~/Projects/Linuxes/linux> git bisect good
f6098641d3e1e4d4052ff9378857c831f9675f6b is the first bad commit
commit f6098641d3e1e4d4052ff9378857c831f9675f6b
Author: Hamza Mahfooz <hamza.mahfooz@amd.com>
Date: Tue Aug 6 09:55:55 2024 -0400
drm/amd/display: fix s2idle entry for DCN3.5+
To be able to get to the lowest power state when suspending systems with
DCN3.5+, we must be in IPS before the display hardware is put into
D3cold. So, to ensure that the system always reaches the lowest power
state while suspending, force systems that support IPS to enter idle
optimizations before entering D3cold.
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 237193e21b29d4aa0617ffeea3d6f49e72999708)
Cc: stable@vger.kernel.org # 6.10+
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +++
1 file changed, 3 insertions(+)
aoba@Aoba-Laptop-YOGA:~/Projects/Linuxes/linux>