aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorLi Ma <[email protected]>2022-09-05 09:20:58 +0000
committerAlex Deucher <[email protected]>2022-09-14 16:38:41 +0000
commit0d6516efff2cf275591c57faadce249257d58980 (patch)
tree820740ad5c88468ad9ea60860a593e2a25ac8cfb /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentdrm/amd/display/amdgpu_dm: remove duplicate included header files (diff)
downloadkernel-0d6516efff2cf275591c57faadce249257d58980.tar.gz
kernel-0d6516efff2cf275591c57faadce249257d58980.zip
drm/amd/pm:add new gpu_metrics_v2_3 to acquire average temperature info
Add new gpu_metrics_v2_3 to acquire average temperature info from SMU metrics. To acquire average temp info from gpu_metrics interface, but gpu_metrics_v2_2 only has members to show current temp info. --- v1: Only add average_temperature_gfx in gpu_metrics_v2_3. v2: Add average temp members for soc, core and l3 in gpu_metrics_v2_3 and put these new members at the end of gpu_metrics_v2_3. Add operation to read average temp info from metrics table. v3: Merge v1 and v2 and rename the patch. v4: Merge v3. Add firmware version judgment in vangogh_common_get_gpu_metrics to maintain backward compatibility and rename the patch. "return ret" on error scenario in smu_cmn_get_smc_version. Signed-off-by: Li Ma <[email protected]> Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions