[Impact]
S2idle doesn't work on AMD Renoir and Cezanne.
[Fix]
Backport AMD PMC driver and pull many new patches let AMDGPU support s2idle.
[Test]
Suspend the laptop and the system freezes.
With the patch applied, suspend works but with some caveats:
1) Keyboard sometimes can't wake up the laptop.
2) Touchpad sometimes can wake up the laptop.
3) RTC can't wake up the laptop.
[Where problems could occur]
Most changes are limited to logic of suspend/resume, and specific to Renoir GFX.
However, there are some refactoring patches may cause unintended results, so AMDGPU may break for sleep/hibernation/runtime suspend on non-Renoir GFXs.
[Impact]
S2idle doesn't work on AMD Renoir and Cezanne.
[Fix]
Backport AMD PMC driver and pull many new patches let AMDGPU support s2idle.
[Test]
Suspend the laptop and the system freezes.
With the patch applied, suspend works but with some caveats:
1) Keyboard sometimes can't wake up the laptop.
2) Touchpad sometimes can wake up the laptop.
3) RTC can't wake up the laptop.
[Where problems could occur] on/runtime suspend on non-Renoir GFXs.
Most changes are limited to logic of suspend/resume, and specific to Renoir GFX.
However, there are some refactoring patches may cause unintended results, so AMDGPU may break for sleep/hibernati