Skip to content

Add limit_type to (pptable_funcs)->set_power_limit signature

Darren Powell amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3amdgpu/pm: add limit_type to (pptable_funcs)->set_power_limit signaturedrivers/gpu/drm/amd/pm/inc/amdgpu_smu.h drivers/gpu/drm/amd/pm/inc/smu_v11_0.h drivers/gpu/drm/amd/pm/inc/smu_v13_0.h +5 more+33 -191 reply
2/3drm/amd/pm: Fix incorrect power limit readback in smu11 if POWER_SOURCE_DCdrivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c+5 -42 replies
3/3drm/amd/pm: explicitly initialize cached power limits in smu structdrivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c+4 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Add limit_type to (pptable_funcs)->set_power_limit signature

=== Description ===
Add limit_type to (pptable_funcs)->set_power_limit signature

plus two small patches
Fix for incorrect power limit readback in smu11 if POWER_SOURCE_DC Explicit initialization of cached power limits in smu struct

=== Test System ===
* DESKTOP(AMD FX-8350 + NAVI10(731F/ca), BIOS: F2)
+ ISO(Ubuntu 20.04.3 LTS)
+ Kernel(5.13.0-g9e50250d2084-fdoagd5f)

=== Patch Summary ===
linux: ([email protected]:agd5f) origin/amd-staging-drm-next @ d6119c68a46e
+ ca5057580168 amdgpu/pm: add limit_type to (pptable_funcs)->set_power_limit signature
+ 6e269294d363 drm/amd/pm: Fix incorrect power limit readback in smu11 if POWER_SOURCE_DC
+ 50715de0a584 drm/amd/pm: explicitly initialize cached power limits in smu struct

Darren Powell (3):
amdgpu/pm: add limit_type to (pptable_funcs)->set_power_limit
signature
drm/amd/pm: Fix incorrect power limit readback in smu11 if
POWER_SOURCE_DC
drm/amd/pm: explicitly initialize cached power limits in smu struct

 drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h           |  4 +++-
 drivers/gpu/drm/amd/pm/inc/smu_v11_0.h            |  4 +++-
 drivers/gpu/drm/amd/pm/inc/smu_v13_0.h            |  4 +++-
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c         |  9 +++++++--
 drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c    | 15 +++++++++------
 drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c  |  7 ++++---
 .../gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c    |  6 ++++--
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c    |  8 +++++---
 8 files changed, 38 insertions(+), 19 deletions(-)

base-commit: d6119c68a46eae0b48c77353aa81e6e38b009d24

Signature · 1 line
2.33.0