Ryzen7 3700U display hang on resume from suspend
@dsdrake1
Submitted by Daniel Drake Assigned to Default DRI bug account
Link to original bug (#111811)
Description
Created attachment 145510
full dmesg
We are working with a new consumer laptop based on Ryzen 7 3700U.
amdgpu device:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c1) (prog-if 00 [VGA controller])
Upon suspend/resume (this platform uses s2idle), the pre-suspend image can be seen on screen, but the display is totally hung. These kernel messages can be seen in the resume process:
[ 281.293412] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[ 281.293465] [drm] PSP is resuming...
[ 281.313495] [drm] reserve 0x400000 from 0xf47fc00000 for PSP TMR
[ 281.316389] [drm] psp command failed and response status is (0x7)
[ 281.603206] ata1: SATA link down (SStatus 0 SControl 300)
[ 282.538559] amdgpu: [powerplay] dpm has been enabled
[ 282.748112] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 282.748141] amdgpu 0000:03:00.0: ring gfx uses VM inv eng 0 on hub 0
[ 282.748143] amdgpu 0000:03:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 282.748144] amdgpu 0000:03:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 282.748146] amdgpu 0000:03:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 282.748147] amdgpu 0000:03:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 282.748148] amdgpu 0000:03:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 282.748150] amdgpu 0000:03:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 282.748151] amdgpu 0000:03:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 282.748152] amdgpu 0000:03:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 282.748154] amdgpu 0000:03:00.0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[ 282.748155] amdgpu 0000:03:00.0: ring sdma0 uses VM inv eng 0 on hub 1
[ 282.748157] amdgpu 0000:03:00.0: ring vcn_dec uses VM inv eng 1 on hub 1
[ 282.748157] amdgpu 0000:03:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 1
[ 282.748158] amdgpu 0000:03:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 1
[ 282.748160] amdgpu 0000:03:00.0: ring vcn_jpeg uses VM inv eng 6 on hub 1
[ 283.133649] [drm] Fence fallback timer expired on ring sdma0
[ 283.261764] [drm] Fence fallback timer expired on ring gfx
[ 283.261809] amdgpu 0000:03:00.0: [drm:amdgpu_ib_ring_tests] ERROR IB test failed on gfx (-22).
[ 283.261814] [drm:process_one_work] ERROR ib ring test failed (-22).
This has been reproduced on Linux 5.2 and linus master as of today. As this is a brand new platform there is no previous known working version. It does suspend/resume fine under Windows 10.
Please let me know how I can help further. We'd be happy to ship a product sample to AMD developers for diagnosis.
Attachment 145510, "full dmesg":
fail.txt