Home
last modified time | relevance | path

Searched refs:ecclk (Results 1 – 25 of 33) sorted by relevance

12

/drivers/gpu/drm/radeon/
Dtrinity_dpm.c995 (old_rps->ecclk != new_rps->ecclk)) { in trinity_set_vce_clock()
997 if (new_rps->evclk || new_rps->ecclk) in trinity_set_vce_clock()
1001 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in trinity_set_vce_clock()
1505 u32 evclk, u32 ecclk, u16 *voltage) in trinity_get_vce_clock_voltage() argument
1512 if (((evclk == 0) && (ecclk == 0)) || in trinity_get_vce_clock_voltage()
1520 (ecclk <= table->entries[i].ecclk)) { in trinity_get_vce_clock_voltage()
1556 new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in trinity_apply_state_adjust_rules()
1559 new_rps->ecclk = 0; in trinity_apply_state_adjust_rules()
1576 trinity_get_vce_clock_voltage(rdev, new_rps->evclk, new_rps->ecclk, &min_vce_voltage); in trinity_apply_state_adjust_rules()
Dradeon_asic.h698 int tn_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk);
750 int si_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk);
788 int cik_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk);
Dsi_dpm.c2918 u32 evclk, u32 ecclk, u16 *voltage) in si_get_vce_clock_voltage() argument
2925 if (((evclk == 0) && (ecclk == 0)) || in si_get_vce_clock_voltage()
2933 (ecclk <= table->entries[i].ecclk)) { in si_get_vce_clock_voltage()
2992 rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in si_apply_state_adjust_rules()
2993 si_get_vce_clock_voltage(rdev, rps->evclk, rps->ecclk, in si_apply_state_adjust_rules()
2997 rps->ecclk = 0; in si_apply_state_adjust_rules()
5918 (old_rps->ecclk != new_rps->ecclk)) { in si_set_vce_clock()
5920 if (new_rps->evclk || new_rps->ecclk) in si_set_vce_clock()
5924 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in si_set_vce_clock()
Dradeon.h1347 u32 ecclk; member
1440 u32 ecclk; member
1531 u32 ecclk; member
1967 int (*set_vce_clocks)(struct radeon_device *rdev, u32 evclk, u32 ecclk);
Dkv_dpm.c2156 new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in kv_apply_state_adjust_rules()
2159 new_rps->ecclk = 0; in kv_apply_state_adjust_rules()
2223 new_rps->evclk || new_rps->ecclk; in kv_apply_state_adjust_rules()
Dr600_dpm.c1109 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = in r600_parse_extended_power_table()
1124 rdev->pm.dpm.vce_states[i].ecclk = in r600_parse_extended_power_table()
Dni.c2722 int tn_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk) in tn_set_vce_clocks() argument
2728 ecclk, false, &dividers); in tn_set_vce_clocks()
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu8_hwmgr.c79 if (clock <= ptable->entries[i].ecclk) in smu8_get_eclk_level()
87 if (clock >= ptable->entries[i].ecclk) in smu8_get_eclk_level()
538 (i < vce_table->count) ? vce_table->entries[i].ecclk : 0; in smu8_upload_pptable_to_smu()
624 clock = table->entries[level].ecclk; in smu8_init_vce_limit()
626 clock = table->entries[table->count - 1].ecclk; in smu8_init_vce_limit()
1278 ptable->entries[ptable->count - 1].ecclk; in smu8_dpm_update_vce_dpm()
1722 uint32_t sclk, vclk, dclk, ecclk, tmp, activity_percent; in smu8_read_sensor() local
1780 ecclk = vce_table->entries[vce_index].ecclk; in smu8_read_sensor()
1781 *((uint32_t *)value) = ecclk; in smu8_read_sensor()
Dsmu10_hwmgr.h132 uint32_t ecclk; member
Dsmu8_hwmgr.h148 uint32_t ecclk; member
Dsmu7_hwmgr.h74 uint32_t ecclk; member
Dvega10_hwmgr.h102 uint32_t ecclk; member
Dvega20_hwmgr.h119 uint32_t ecclk; member
Dprocesspptables.c1264 vce_table->entries[i].ecclk = ((unsigned long)entry->ucECClkHigh << 16) in get_vce_clock_voltage_limit_table()
1712 …vce_state->ecclk = ((uint32_t)vce_clock_info->ucECClkHigh << 16) | le16_to_cpu(vce_clock_info->usE… in get_vce_state_table_entry()
/drivers/gpu/drm/amd/pm/inc/
Dpower_state.h181 unsigned long ecclk; member
Damdgpu_dpm.h64 u32 ecclk; member
173 u32 ecclk; member
Dhwmgr.h103 uint32_t ecclk; member
157 uint32_t ecclk; member
/drivers/gpu/drm/amd/include/
Dkgd_pp_interface.h32 u32 ecclk; member
/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c2210 new_rps->ecclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].ecclk; in kv_apply_state_adjust_rules()
2213 new_rps->ecclk = 0; in kv_apply_state_adjust_rules()
2277 new_rps->evclk || new_rps->ecclk; in kv_apply_state_adjust_rules()
3261 *equal &= ((cps->evclk == rps->evclk) && (cps->ecclk == rps->ecclk)); in kv_check_state_equal()
Dsi_dpm.c3016 u32 evclk, u32 ecclk, u16 *voltage) in si_get_vce_clock_voltage() argument
3023 if (((evclk == 0) && (ecclk == 0)) || in si_get_vce_clock_voltage()
3031 (ecclk <= table->entries[i].ecclk)) { in si_get_vce_clock_voltage()
3447 rps->ecclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].ecclk; in si_apply_state_adjust_rules()
3448 si_get_vce_clock_voltage(adev, rps->evclk, rps->ecclk, in si_apply_state_adjust_rules()
3452 rps->ecclk = 0; in si_apply_state_adjust_rules()
6963 (old_rps->ecclk != new_rps->ecclk)) { in si_set_vce_clock()
6965 if (new_rps->evclk || new_rps->ecclk) { in si_set_vce_clock()
7975 *equal &= ((cps->evclk == rps->evclk) && (cps->ecclk == rps->ecclk)); in si_check_state_equal()
/drivers/gpu/drm/amd/amdgpu/
Dsi.c1782 static int si_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in si_set_vce_clocks() argument
1796 if (!evclk || !ecclk) { in si_set_vce_clocks()
1803 r = si_calc_upll_dividers(adev, evclk, ecclk, 125000, 250000, in si_set_vce_clocks()
Dcik.c1428 static int cik_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in cik_set_vce_clocks() argument
1436 ecclk, false, &dividers); in cik_set_vce_clocks()
Dvi.c848 static int vi_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in vi_set_vce_clocks() argument
872 ecclk, false, &dividers); in vi_set_vce_clocks()
Dnv.c370 static int nv_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in nv_set_vce_clocks() argument
/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c521 adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = in amdgpu_parse_extended_power_table()
537 adev->pm.dpm.vce_states[i].ecclk = in amdgpu_parse_extended_power_table()

12