]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/pm: Add gpuboard temperature metrics support
authorAsad Kamal <asad.kamal@amd.com>
Fri, 30 Jan 2026 13:10:47 +0000 (21:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Mar 2026 18:18:58 +0000 (14:18 -0400)
commite3b96f5b20ab5178ded733351048ce64bb989a9e
tree4fe684312b7b4bb929ebe4e121ee7929cecf9de4
parent1415503db03b0e44f2d70d2c2c87c83c6fed9f46
drm/amd/pm: Add gpuboard temperature metrics support

Add gpuboard temperature metrics support via system metrics table for
smu_v15_0_8

v3: Use per sensor attr id (Lijo)

v4: Use s16 for temp, remove cast, use separate function to fill
gpuboard temperature metrics data (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/include/kgd_pp_interface.h
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.h