Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu8_hwmgr.c1686 uint32_t sclk, vclk, dclk, ecclk, tmp, activity_percent; in smu8_read_sensor() local
1754 activity_percent = cgs_read_register(hwmgr->device, mmSMU_MP1_SRBM2P_ARG_0); in smu8_read_sensor()
1755 activity_percent = activity_percent > 100 ? 100 : activity_percent; in smu8_read_sensor()
1757 activity_percent = 50; in smu8_read_sensor()
1759 *((uint32_t *)value) = activity_percent; in smu8_read_sensor()
Dsmu7_hwmgr.c3509 uint32_t sclk, mclk, activity_percent; in smu7_read_sensor() local
3535 activity_percent = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset); in smu7_read_sensor()
3536 activity_percent += 0x80; in smu7_read_sensor()
3537 activity_percent >>= 8; in smu7_read_sensor()
3538 *((uint32_t *)value) = activity_percent > 100 ? 100 : activity_percent; in smu7_read_sensor()
Dvega10_hwmgr.c3666 uint32_t sclk_mhz, mclk_idx, activity_percent = 0; in vega10_read_sensor() local
3690 activity_percent = smum_get_argument(hwmgr); in vega10_read_sensor()
3691 *((uint32_t *)value) = activity_percent > 100 ? 100 : activity_percent; in vega10_read_sensor()
Dvega12_hwmgr.c1261 uint32_t *activity_percent) in vega12_get_current_activity_percent() argument
1279 *activity_percent = current_activity; in vega12_get_current_activity_percent()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dci_dpm.c6092 u32 activity_percent = 50; in ci_dpm_debugfs_print_current_performance_level() local
6096 &activity_percent); in ci_dpm_debugfs_print_current_performance_level()
6099 activity_percent += 0x80; in ci_dpm_debugfs_print_current_performance_level()
6100 activity_percent >>= 8; in ci_dpm_debugfs_print_current_performance_level()
6101 activity_percent = activity_percent > 100 ? 100 : activity_percent; in ci_dpm_debugfs_print_current_performance_level()
6108 seq_printf(m, "GPU load: %u %%\n", activity_percent); in ci_dpm_debugfs_print_current_performance_level()
6729 u32 activity_percent = 50; in ci_dpm_read_sensor() local
6754 &activity_percent); in ci_dpm_read_sensor()
6756 activity_percent += 0x80; in ci_dpm_read_sensor()
6757 activity_percent >>= 8; in ci_dpm_read_sensor()
[all …]