[SRU] [J/OEM-5.14] [PATCH 0/2] Fix broken s2idle on AMD APU

Kai-Heng Feng kai.heng.feng at canonical.com
Mon May 9 05:12:18 UTC 2022


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

[Impact]
The AMD based system can not reach s2idle after fix for LP: #1968475.

[Fix]
No need to evict resources for s2idle case.

[Test]
Test on a Cezanne, confirmed the 5.14.0-1035 breaks s2idle, and applying
the fix can make s2idle work again.

[Where problems could occur]
The fix only applies to AMD APU, and the resources sould stay at carved
out region over sleep.

Mario Limonciello (1):
  drm/amdgpu: explicitly check for s0ix when evicting resources

Nirmoy Das (1):
  drm/amdgpu: unify BO evicting method in amdgpu_ttm

 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c |  8 +++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c  | 30 ++++++++++++++++-----
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c  | 23 ----------------
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h  |  1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c     | 30 +++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h     |  1 +
 6 files changed, 58 insertions(+), 35 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list