S2idle is not working on AMD Gigabyte platform
Submitted by shahul
Assigned to Default DRI bug account
Link to original bug (#109712)
Description
Created attachment 143427
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.
Attachment 143427, "suspend/resume error log in s2idle":
dmesg.txt