<div dir="auto"><div>Hi </div><div dir="auto"><br></div><div dir="auto">I am facing below issue. Can any one please help me to resolve it.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Sk shahul<br><br><div class="gmail_quote" dir="auto"><div dir="ltr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">shahul hameed</strong> <span dir="ltr"><<a href="mailto:shahulhameed.481@gmail.com" target="_blank" rel="noreferrer">shahulhameed.481@gmail.com</a>></span><br>Date: Wed, Feb 20, 2019, 3:13 PM<br>Subject: s2idle not working<br>To:  <<a href="mailto:shirish.s@amd.com" target="_blank" rel="noreferrer">shirish.s@amd.com</a>><br></div><br><br><div dir="ltr"><div dir="ltr"><div>Hi Shirish</div><div><br></div><div><b><span style="font-family:"Courier";font-size:11pt"></span></b></div><div>I am porting Android_N and keenel 4.19.2 to Ryzen platform. Graphic card is gfx9.<br></div><div>Porting is done successfully. Now i am working on suspend/resume.</div><div>Suspend/resume is working fine in deep mode.</div><div>But suspend/resume is not working in s2idle (Suspend to idle) mode.</div><div><br></div><div>during resume i found error in gpu driver.</div><div><br></div><div>[  105.862161] [drm:gfx_v9_0_hw_init [amdgpu]] *ERROR* KCQ enable failed (scratch(0xC040)=0xCAFEDEAD)<br>
[  105.862187] [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <gfx_v9_0> failed -22<br>
[  105.862210] [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_device_ip_resume failed (-22).<br>
[  105.862215] dpm_run_callback(): pci_pm_resume+0x0/0xd6 returns -22<br>
[  105.862345] PM: Device 0000:03:00.0 failed to resume async: error -22</div><div><br></div><div>same issue is reproduced with ubuntu16.04.<br></div><div><br></div><div>Can you please help me to resolve this issue.<br></div><div>Thanks in Advance,</div><div>Regards,</div><div>Sk shahul.</div></div></div>
</div></div></div>