Alex introduced a patch [1] for s0ix support for Van Gogh which
Antheas tested works on an Xbox Ally X, but when I was reviewing it
I noticed that the RLC callback is very similar to an set_mp1_state
callback.

This series reworks Alex's patch to put the RLC callback into a
set_mp1_state instead.

This series should be tested both on a Steam Deck, Steam Deck OLED
and Xbox Ally X.

Link: 
https://lore.kernel.org/platform-driver-x86/[email protected]/
 [1]
Cc: Robert Beckett <[email protected]>
Cc: Antheas Kapenekakis <[email protected]>
Alex Deucher (1):
  drm/amd: only send the SMU RLC notification on S3

Mario Limonciello (1):
  drm/amd: Move Van Gogh specific suspend code into common
    `set_mp1_state`

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |  4 ---
 .../gpu/drm/amd/include/kgd_pp_interface.h    |  1 -
 drivers/gpu/drm/amd/pm/amdgpu_dpm.c           | 18 -------------
 drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h       |  2 --
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c     | 16 +++++-------
 drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h |  5 ----
 .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c  | 25 ++++++++++++++++++-
 drivers/gpu/drm/amd/pm/swsmu/smu_internal.h   |  1 -
 8 files changed, 30 insertions(+), 42 deletions(-)

-- 
2.49.0

Reply via email to