APPLIED [OEM-5.14] Re: [SRU] [J/OEM-5.14] [PATCH 0/2] Fix broken s2idle on AMD APU
Timo Aaltonen
tjaalton at ubuntu.com
Mon May 9 09:04:41 UTC 2022
Kai-Heng Feng kirjoitti 9.5.2022 klo 8.12:
> 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(-)
>
applied to oem-5.14, thanks
--
t
More information about the kernel-team
mailing list