=== 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: (git@xxxxxxxxxxxxxxxxxxxxxx: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 -- 2.33.0