Immediate wake from S3 Sleep when HDMI is connected (IRQ 7 / pinctrl_amd)

I am experiencing a persistent “immediate wake” issue on my Lenovo Legion Pro 5 16ARX8 (AMD Ryzen 7 7745HX + RTX 4060) running Fedora 43.

The Symptoms:

  • When an external monitor is connected via HDMI, the laptop refuses to stay in Suspend (S3/Deep).
  • It enters sleep for ~1 second and immediately wakes up.
  • This issue does not occur when the HDMI cable is unplugged.

System Specifications:

OS: Fedora Linux 43 (KDE Plasma 6.5.4, Wayland)
Kernel: 6.17.12-300.fc43.x86_64
BIOS: LPCN59WW (Date: 11/25/2024)
GPU Driver: NVIDIA Proprietary 580.119.02
External Monitor: AOC Q3279WG5B via HDMI

The Failure Log (journalctl -kf):

jan 10 12:04:13 Lenart-PC kernel: PM: suspend entry (deep)
...
jan 10 12:04:21 Lenart-PC kernel: Disabling GPIO #89 interrupt for suspend.
jan 10 12:04:21 Lenart-PC kernel: ACPI: PM: Preparing to enter system sleep state S3
...
jan 10 12:04:21 Lenart-PC kernel: Timekeeping suspended for 1.192 seconds
jan 10 12:04:21 Lenart-PC kernel: PM: Triggering wakeup from IRQ 7
jan 10 12:04:21 Lenart-PC kernel: GPIO 4 is active: 0x30057c00
jan 10 12:04:21 Lenart-PC kernel: GPIO 89 is active: 0x10141b00
jan 10 12:04:21 Lenart-PC kernel: mt7921e 0000:04:00.0: PM: dpm_run_callback(): pci_pm_resume returns -110

Everything I have already tried (No success):

  • Disabling all wakeup nodes in /proc/acpi/wakeup.
  • Enabling NVIDIA NVreg_PreserveVideoMemoryAllocations=1 and associated services.
  • Forcing [deep] in /sys/power/mem_sleep.
  • Switching to “Discrete Graphics” mode in BIOS.
  • Disabling amd_pmc module with modprobe -r