]> Gentwo Git Trees - linux/.git/commit
drm/amd/pm: Add ppt1 support for smu_v13_0_12
authorAsad Kamal <asad.kamal@amd.com>
Sun, 19 Oct 2025 15:22:22 +0000 (23:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Nov 2025 02:54:16 +0000 (21:54 -0500)
commitd88edb246045d3b488f00d0854764cce829c1824
treeff4165ca1a21107cb973c4fc81ecfb0c80ac635f
parentefa6bffae52bc8d32b6ae66cd83151d6a31fcf0b
drm/amd/pm: Add ppt1 support for smu_v13_0_12

Add support to configure and retrieve ppt1 limit for smu_v13_0_12

v2: Add update_caps function and update ppt1 cap based on max ppt1
value, optimize the return values (Lijo)

v3: Add Null ptr check, return not supported in case of invalid
level/type (Lijo)

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.h