Home
last modified time | relevance | path

Searched refs:uvd_index (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Dcz_dpm.c527 u32 uvd_index = REG_GET_FIELD(RREG32_SMC(ixTARGET_AND_CURRENT_PROFILE_INDEX_2), in cz_dpm_debugfs_print_current_performance_level() local
551 if (uvd_index >= CZ_MAX_HARDWARE_POWERLEVELS) { in cz_dpm_debugfs_print_current_performance_level()
552 seq_printf(m, "invalid uvd dpm level %d\n", uvd_index); in cz_dpm_debugfs_print_current_performance_level()
554 vclk = uvd_table->entries[uvd_index].vclk; in cz_dpm_debugfs_print_current_performance_level()
555 dclk = uvd_table->entries[uvd_index].dclk; in cz_dpm_debugfs_print_current_performance_level()
556 seq_printf(m, "%u uvd vclk: %u dclk: %u\n", uvd_index, vclk, dclk); in cz_dpm_debugfs_print_current_performance_level()
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dcz_hwmgr.c1826 …uint32_t uvd_index = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixTARGET… in cz_read_sensor() local
1857 if (uvd_index >= CZ_MAX_HARDWARE_POWERLEVELS) { in cz_read_sensor()
1860 vclk = uvd_table->entries[uvd_index].vclk; in cz_read_sensor()
1869 if (uvd_index >= CZ_MAX_HARDWARE_POWERLEVELS) { in cz_read_sensor()
1872 dclk = uvd_table->entries[uvd_index].dclk; in cz_read_sensor()