summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorAsad Kamal <asad.kamal@amd.com>2025-10-29 21:49:59 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-12-08 13:56:33 -0500
commit209529414ef0bcb46bf59f8368224e25167fc50d (patch)
tree7c1d2f659aed6ae6c94c39433f6ee90656adfdfc /drivers/gpu/drm/amd/include
parente8f4ea34b6cfa7ac47a518e36193dcc7573f6afc (diff)
drm/amd/pm: Add sysfs node for ubb power
Add sysfs node to expose ubb power limit for smu_v13_0_12 v2: Update sysfs node name to baseboard_power & baseboard_power_limit to make it consistent with other node names (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>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
-rw-r--r--drivers/gpu/drm/amd/include/kgd_pp_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/kgd_pp_interface.h b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
index 2366e68262e6..92477120c28d 100644
--- a/drivers/gpu/drm/amd/include/kgd_pp_interface.h
+++ b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
@@ -166,6 +166,8 @@ enum amd_pp_sensors {
AMDGPU_PP_SENSOR_NODEPOWER,
AMDGPU_PP_SENSOR_GPPTRESIDENCY,
AMDGPU_PP_SENSOR_MAXNODEPOWERLIMIT,
+ AMDGPU_PP_SENSOR_UBB_POWER,
+ AMDGPU_PP_SENSOR_UBB_POWER_LIMIT,
};
enum amd_pp_task {