Bug 111811 - Ryzen7 3700U display hang on resume from suspend
Summary: Ryzen7 3700U display hang on resume from suspend
Status: NEW
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: Other All
: not set not set
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-25 07:03 UTC by Daniel Drake
Modified: 2019-09-26 02:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
full dmesg (69.83 KB, text/plain)
2019-09-25 07:03 UTC, Daniel Drake
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Drake 2019-09-25 07:03:46 UTC
Created attachment 145510 [details]
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.
Comment 1 Alex Deucher 2019-09-25 15:17:29 UTC
Does it work properly with standard suspend to ram (S3)?
Comment 2 Daniel Drake 2019-09-26 02:37:28 UTC
This is an ACPI reduced hardware platform, S3 suspend is not available.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.