Bug 111811

Summary: Ryzen7 3700U display hang on resume from suspend
Product: DRI Reporter: Daniel Drake <dan>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: not set    
Priority: not set    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
full dmesg none

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.
Comment 3 Martin Peres 2019-11-19 09:55:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/919.

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.