]> Gentwo Git Trees - linux/.git/commit
drm/amd/pm: Add sysfs node for node power
authorAsad Kamal <asad.kamal@amd.com>
Wed, 27 Aug 2025 13:22:13 +0000 (21:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Sep 2025 13:43:02 +0000 (09:43 -0400)
commitef612f58d944ce4a468fa533335035a6e5163eda
tree9ac5e50e52bc0e2f95d30b3a499242826f6f5358
parent4072b16dd841fad544b3efac1a5d2f99682a1ee2
drm/amd/pm: Add sysfs node for node power

Add sysfs node to expose node power limit for smu_v13_0_12

v2: Remove support check from visible function (Kevin)

v3: Update comments (Kevin)
    Remove sysfs remove file, change format specifier
    for sysfs_emit, use attribute_group.name (Lijo)

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/pm/amdgpu_pm.c