mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm/swsmu
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/pm: add smu_v13_0_10 driver if version 2022-08-29 17:59:31 -04:00
smu11 drm/amd/pm:add new gpu_metrics_v2_3 to acquire average temperature info 2022-09-14 12:38:41 -04:00
smu12 drm/amdgpu/swsmu: add SMU mailbox registers in SMU context 2022-06-03 16:45:00 -04:00
smu13 drm/amd/pm: add missing SetMGpuFanBoostLimitRpm mapping for SMU 13.0.7 2022-09-07 22:21:41 -04:00
amdgpu_smu.c drm/amd/pm: add smu_v13_0_10 support 2022-08-29 17:59:31 -04:00
Makefile drm/amd/swsmu: add aldebaran smu13 ip support (v3) 2021-03-23 22:54:24 -04:00
smu_cmn.c drm/amd/pm:add new gpu_metrics_v2_3 to acquire average temperature info 2022-09-14 12:38:41 -04:00
smu_cmn.h drm/amd/pm: enable the support for retrieving combo pptable 2022-05-04 09:58:33 -04:00
smu_internal.h drm/amd: Add detailed GFXOFF stats to debugfs 2022-08-16 18:17:31 -04:00