mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
drm/amdgpu/pm: add VCN activity for renoir
Wire up the query. Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
90df6db62f
commit
2bc016737a
|
|
@ -1285,6 +1285,12 @@ static int renoir_read_sensor(struct smu_context *smu,
|
|||
(uint32_t *)data);
|
||||
*size = 4;
|
||||
break;
|
||||
case AMDGPU_PP_SENSOR_VCN_LOAD:
|
||||
ret = renoir_get_smu_metrics_data(smu,
|
||||
METRICS_AVERAGE_VCNACTIVITY,
|
||||
(uint32_t *)data);
|
||||
*size = 4;
|
||||
break;
|
||||
case AMDGPU_PP_SENSOR_EDGE_TEMP:
|
||||
ret = renoir_get_smu_metrics_data(smu,
|
||||
METRICS_TEMPERATURE_EDGE,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user