Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+6
+6
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
··· 1285 1285 (uint32_t *)data); 1286 1286 *size = 4; 1287 1287 break; 1288 + case AMDGPU_PP_SENSOR_VCN_LOAD: 1289 + ret = renoir_get_smu_metrics_data(smu, 1290 + METRICS_AVERAGE_VCNACTIVITY, 1291 + (uint32_t *)data); 1292 + *size = 4; 1293 + break; 1288 1294 case AMDGPU_PP_SENSOR_EDGE_TEMP: 1289 1295 ret = renoir_get_smu_metrics_data(smu, 1290 1296 METRICS_TEMPERATURE_EDGE,