Home
last modified time | relevance | path

Searched refs:activity_percent (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu8_hwmgr.c1722 uint32_t sclk, vclk, dclk, ecclk, tmp, activity_percent; in smu8_read_sensor() local
1790 &activity_percent); in smu8_read_sensor()
1792 activity_percent = activity_percent > 100 ? 100 : activity_percent; in smu8_read_sensor()
1794 activity_percent = 50; in smu8_read_sensor()
1796 *((uint32_t *)value) = activity_percent; in smu8_read_sensor()
Dsmu7_hwmgr.c3556 uint32_t sclk, mclk, activity_percent; in smu7_read_sensor() local
3583 activity_percent = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset); in smu7_read_sensor()
3584 activity_percent += 0x80; in smu7_read_sensor()
3585 activity_percent >>= 8; in smu7_read_sensor()
3586 *((uint32_t *)value) = activity_percent > 100 ? 100 : activity_percent; in smu7_read_sensor()
Dvega12_hwmgr.c1344 uint32_t *activity_percent) in vega12_get_current_activity_percent() argument
1355 *activity_percent = metrics_table.AverageGfxActivity; in vega12_get_current_activity_percent()
1358 *activity_percent = metrics_table.AverageUclkActivity; in vega12_get_current_activity_percent()
Dvega10_hwmgr.c3827 uint32_t sclk_mhz, mclk_idx, activity_percent = 0; in vega10_read_sensor() local
3849 &activity_percent); in vega10_read_sensor()
3850 *((uint32_t *)value) = activity_percent > 100 ? 100 : activity_percent; in vega10_read_sensor()
Dvega20_hwmgr.c2142 uint32_t *activity_percent) in vega20_get_current_activity_percent() argument
2153 *activity_percent = metrics_table.AverageGfxActivity; in vega20_get_current_activity_percent()
2156 *activity_percent = metrics_table.AverageUclkActivity; in vega20_get_current_activity_percent()