[amdgpu, Ryzen 7 Pro 3700U] freeze when suspending shortly after wakeup
Submitted by Rohan Lean
Assigned to Default DRI bug account
Link to original bug (#111498)
Description
Linux version: 5.2.9
Hardware: Ryzen 7 Pro 3700U
When I try to suspend the system while it is waking up from s3, the system does not properly suspend again, but instead freezes with a blank screen, and the fans ramp up after a while.
I have chosen severity "major", because this can cause overheating when a laptop that is thought to be suspended is put into a bag.
Possibly relevant kernel messages before the hard reset:
Aug 27 09:11:39 kernel: PM: suspend entry (s2idle)
Aug 27 09:11:39 kernel: PM: suspend exit
Aug 27 09:11:39 kernel: Restarting tasks ... done.
Aug 27 09:11:39 kernel: OOM killer enabled.
Aug 27 09:11:39 kernel: acpi LNXPOWER:00: Turning OFF
Aug 27 09:11:39 kernel: PM: resume devices took 1.529 seconds
Aug 27 09:11:39 kernel: [drm:amdgpu_device_ip_late_init_func_handler [amdgpu]] ERROR ib ring test failed (-110).
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] ERROR IB test failed on gfx (-110).
Aug 27 09:11:39 kernel: [drm] Fence fallback timer expired on ring sdma0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring vcn_jpeg uses VM inv eng 6 on hub 1
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 1
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 1
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring vcn_dec uses VM inv eng 1 on hub 1
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring sdma0 uses VM inv eng 0 on hub 1
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Aug 27 09:11:39 kernel: amdgpu 0000:05:00.0: ring gfx uses VM inv eng 0 on hub 0
Aug 27 09:11:39 kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Aug 27 09:11:39 kernel: amdgpu: [powerplay] dpm has been enabled