1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm
Li Ma 0d6516efff 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 <li.ma@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-09-14 12:38:41 -04:00
..
inc drm/amd: Add detailed GFXOFF stats to debugfs 2022-08-16 18:17:31 -04:00
legacy-dpm drm/amd/pm: fix the compile warning 2022-04-28 17:45:49 -04:00
powerplay drm/amd/pm: fix the deadlock issue observed on SI 2022-04-22 14:50:23 -04:00
swsmu drm/amd/pm:add new gpu_metrics_v2_3 to acquire average temperature info 2022-09-14 12:38:41 -04:00
amdgpu_dpm.c drm/amd: Add detailed GFXOFF stats to debugfs 2022-08-16 18:17:31 -04:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_pm.c drm/amd/pm: consistent approach for smartshift 2022-05-16 14:20:55 -04:00
Makefile drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00