[PATCH 0/2][SRU][OEM-5.6] S3 stress test fails with amdgpu errors

AceLan Kao acelan.kao at canonical.com
Mon Dec 28 09:24:39 UTC 2020


From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1909453


[Impact]
It fails to resume from S3 with below error messages
   Nov 17 03:15:27 u kernel: amdgpu 0000:04:00.0:[drm:amdgpu_ring_test_helper [amdgpu]] ERROR ring vcn_dec test failed (-110)
   Nov 17 03:15:27 u kernel: [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] ERROR resume of IP block <vcn_v1_0> failed -110
   Nov 17 03:15:27 u kernel: [drm:amdgpu_device_resume [amdgpu]] ERROR amdgpu_device_ip_resume failed (-110).

[Fix]
AMD provides the 2 commits in 5.9-rc1 to fix this issue, and groovy has
these commits from stable update.
   429f3d24384b drm/amdgpu: asd function needs to be unloaded in suspend phase
   90937420c44f drm/amdgpu: add TMR destory function for psp

[Test]
Verified on problematic Dell machineļ¼Œand it passes 500 S3 test.

[Where problems could occur]
TMR will be created after resumed, so it should be destroyed while entering
S3. The patch does what is required, should be pretty safe to include this
commit.

Huang Rui (2):
  drm/amdgpu: asd function needs to be unloaded in suspend phase
  drm/amdgpu: add TMR destory function for psp

 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 68 ++++++++++++++++++++++---
 1 file changed, 60 insertions(+), 8 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list