[PATCH 0/2] v2 Add limit_type to (pptable_funcs)->set_power_limit signature

Darren Powell darren.powell at amd.com
Wed Oct 6 05:06:53 UTC 2021


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

plus small patch
 Fix for incorrect power limit readback in smu11 if POWER_SOURCE_DC

 v2
 add check for SMU_DEFAULT_PPT_LIMIT
 dropped patch: 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: (git at gitlab.freedesktop.org:agd5f) origin/amd-staging-drm-next @ d6119c68a46e
    + 20e15ca8448f amdgpu/pm: (v2) add limit_type to (pptable_funcs)->set_power_limit signature
    + 45fb82fd6129 drm/amd/pm: Fix incorrect power limit readback in smu11 if POWER_SOURCE_DC


Darren Powell (2):
  amdgpu/pm: (v2) add limit_type to (pptable_funcs)->set_power_limit
    signature
  drm/amd/pm: Fix incorrect power limit readback in smu11 if
    POWER_SOURCE_DC

 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      |  5 +++--
 drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 18 ++++++++++++------
 .../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 | 11 ++++++++---
 8 files changed, 40 insertions(+), 19 deletions(-)


base-commit: d6119c68a46eae0b48c77353aa81e6e38b009d24
-- 
2.33.0



More information about the amd-gfx mailing list