Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu8_hwmgr.c1690 uint32_t sclk, vclk, dclk, ecclk, tmp, activity_percent; in smu8_read_sensor() local
1758 activity_percent = cgs_read_register(hwmgr->device, mmSMU_MP1_SRBM2P_ARG_0); in smu8_read_sensor()
1759 activity_percent = activity_percent > 100 ? 100 : activity_percent; in smu8_read_sensor()
1761 activity_percent = 50; in smu8_read_sensor()
1763 *((uint32_t *)value) = activity_percent; in smu8_read_sensor()
Dsmu7_hwmgr.c3528 uint32_t sclk, mclk, activity_percent; in smu7_read_sensor() local
3557 activity_percent = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset); in smu7_read_sensor()
3558 activity_percent += 0x80; in smu7_read_sensor()
3559 activity_percent >>= 8; in smu7_read_sensor()
3560 *((uint32_t *)value) = activity_percent > 100 ? 100 : activity_percent; in smu7_read_sensor()
Dvega12_hwmgr.c1322 uint32_t *activity_percent) in vega12_get_current_activity_percent() argument
1333 *activity_percent = metrics_table.AverageGfxActivity; in vega12_get_current_activity_percent()
1336 *activity_percent = metrics_table.AverageUclkActivity; in vega12_get_current_activity_percent()
Dvega10_hwmgr.c3770 uint32_t sclk_mhz, mclk_idx, activity_percent = 0; in vega10_read_sensor() local
3794 activity_percent = smum_get_argument(hwmgr); in vega10_read_sensor()
3795 *((uint32_t *)value) = activity_percent > 100 ? 100 : activity_percent; in vega10_read_sensor()
Dvega20_hwmgr.c2133 uint32_t *activity_percent) in vega20_get_current_activity_percent() argument
2144 *activity_percent = metrics_table.AverageGfxActivity; in vega20_get_current_activity_percent()
2147 *activity_percent = metrics_table.AverageUclkActivity; in vega20_get_current_activity_percent()