Skip to content

drm/amd/pm: Fix laptop issues on SMU6-7

Timur Kristóf amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/amd/pm/si: Disregard vblank time when no displays are connecteddrivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c+4 -01 reply
2/5drm/amd/pm: Rename enable_bapm() to notify_ac_dc()drivers/gpu/drm/amd/include/kgd_pp_interface.h drivers/gpu/drm/amd/pm/amdgpu_dpm.c drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c+8 -80 replies
3/5drm/amd/pm/smu7: Notify SMU7 of DC->AC switchdrivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h+28 -00 replies
4/5drm/amd/pm/si: Fix updating clock limits from power statesdrivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c+24 -50 replies
5/5drm/amd/pm/si: Notify the SMC when switching to ACdrivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c+10 -70 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchJeremy KlarenbeekAlex Deucher
1/5T-b R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] drm/amd/pm: Fix laptop issues on SMU6-7

Fix various issues with the clocks stuck on SI
laptop dGPUs:

* vblank mistake when there are no displays connected
* forgot to notify SMU about DC->AC switch
* inconsistent values in VBIOS

While we are at it, also implement the DC->AC notification for SMU7 as well, which is supposed to work the same way.

Jeremy Klarenbeek (2):
drm/amd/pm/si: Fix updating clock limits from power states drm/amd/pm/si: Notify the SMC when switching to AC

Timur Kristóf (3):
drm/amd/pm/si: Disregard vblank time when no displays are connected drm/amd/pm: Rename enable_bapm() to notify_ac_dc() drm/amd/pm/smu7: Notify SMU7 of DC->AC switch

 .../gpu/drm/amd/include/kgd_pp_interface.h    |  2 +-
 drivers/gpu/drm/amd/pm/amdgpu_dpm.c           |  8 +--
 drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c    |  6 +--
 drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c    | 50 ++++++++++++++-----
 .../gpu/drm/amd/pm/powerplay/amd_powerplay.c  | 12 +++++
 .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c   | 15 ++++++
 drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h  |  1 +
 7 files changed, 74 insertions(+), 20 deletions(-)
Signature · 1 line
2.54.0