]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/pm: Add dpm interface for temp metrics
authorAsad Kamal <asad.kamal@amd.com>
Fri, 1 Aug 2025 17:48:09 +0000 (01:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Aug 2025 18:20:34 +0000 (14:20 -0400)
commit83953ec1fedf37b900bded05ced31e6b7858cca3
tree61be6170784f76fd76fac17f792fda7f1ed2e9c8
parente9c840d4505d5049da1873acf93744d384b12a0b
drm/amd/pm: Add dpm interface for temp metrics

Add dpm interface to get gpuboard/baseboard temperature metrics

v2: Add temperature metrics support check(Lijo)

v3: Return error code in case of operation not supported(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/amdgpu_dpm.c
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h