https://bugs.freedesktop.org/show_bug.cgi?id=109712
Bug ID: 109712 Summary: S2idle is not working on AMD Gigabyte platform Product: Mesa Version: 18.2 Hardware: x86-64 (AMD64) OS: other Status: NEW Severity: critical Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: shahulhameed.481@gmail.com QA Contact: dri-devel@lists.freedesktop.org
Created attachment 143427 --> https://bugs.freedesktop.org/attachment.cgi?id=143427&action=edit suspend/resume error log in s2idle
I am porting Android_N and kernel 4.19.2 on AMD Gigabyte platform. Graphic card is gfx9. Porting is done successfully. Now i am working on suspend/resume. Suspend/resume is working fine in deep mode. But suspend/resume is not working in s2idle (Suspend to idle) mode.
during resume i found error in gpu driver.
[ 105.862161] [drm:gfx_v9_0_hw_init [amdgpu]] *ERROR* KCQ enable failed (scratch(0xC040)=0xCAFEDEAD) [ 105.862187] [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <gfx_v9_0> failed -22 [ 105.862210] [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_device_ip_resume failed (-22). [ 105.862215] dpm_run_callback(): pci_pm_resume+0x0/0xd6 returns -22 [ 105.862345] PM: Device 0000:03:00.0 failed to resume async: error -22
I attached complete dmesg log.
Please someone help me to resolve this issue. Thanks and Regards, Sk shahul.