Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A Dtrinity_dpm.c947 (old_rps->ecclk != new_rps->ecclk)) { in trinity_set_vce_clock()
949 if (new_rps->evclk || new_rps->ecclk) in trinity_set_vce_clock()
953 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in trinity_set_vce_clock()
1457 u32 evclk, u32 ecclk, u16 *voltage) in trinity_get_vce_clock_voltage() argument
1464 if (((evclk == 0) && (ecclk == 0)) || in trinity_get_vce_clock_voltage()
1472 (ecclk <= table->entries[i].ecclk)) { in trinity_get_vce_clock_voltage()
1508 new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in trinity_apply_state_adjust_rules()
1511 new_rps->ecclk = 0; in trinity_apply_state_adjust_rules()
1528 trinity_get_vce_clock_voltage(rdev, new_rps->evclk, new_rps->ecclk, &min_vce_voltage); in trinity_apply_state_adjust_rules()
H A Dradeon_asic.h697 int tn_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk);
749 int si_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk);
787 int cik_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk);
H A Dsi_dpm.c2871 u32 evclk, u32 ecclk, u16 *voltage) in si_get_vce_clock_voltage() argument
2878 if (((evclk == 0) && (ecclk == 0)) || in si_get_vce_clock_voltage()
2886 (ecclk <= table->entries[i].ecclk)) { in si_get_vce_clock_voltage()
2945 rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in si_apply_state_adjust_rules()
2946 si_get_vce_clock_voltage(rdev, rps->evclk, rps->ecclk, in si_apply_state_adjust_rules()
2950 rps->ecclk = 0; in si_apply_state_adjust_rules()
5872 (old_rps->ecclk != new_rps->ecclk)) { in si_set_vce_clock()
5874 if (new_rps->evclk || new_rps->ecclk) in si_set_vce_clock()
5878 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in si_set_vce_clock()
H A Dkv_dpm.c1952 new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in kv_apply_state_adjust_rules()
1955 new_rps->ecclk = 0; in kv_apply_state_adjust_rules()
2019 new_rps->evclk || new_rps->ecclk; in kv_apply_state_adjust_rules()
H A Dradeon.h1339 u32 ecclk; member
1430 u32 ecclk; member
1521 u32 ecclk; member
1953 int (*set_vce_clocks)(struct radeon_device *rdev, u32 evclk, u32 ecclk);
H A Dr600_dpm.c1107 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = in r600_parse_extended_power_table()
1122 rdev->pm.dpm.vce_states[i].ecclk = in r600_parse_extended_power_table()
H A Dni.c2692 int tn_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk) in tn_set_vce_clocks() argument
2698 ecclk, false, &dividers); in tn_set_vce_clocks()
H A Dsi.c7460 int si_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk) in si_set_vce_clocks() argument
7474 if (!evclk || !ecclk) { in si_set_vce_clocks()
7481 r = radeon_uvd_calc_upll_dividers(rdev, evclk, ecclk, 125000, 250000, in si_set_vce_clocks()
H A Dci_dpm.c777 rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in ci_apply_state_adjust_rules()
780 rps->ecclk = 0; in ci_apply_state_adjust_rules()
H A Dcik.c9447 int cik_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk) in cik_set_vce_clocks() argument
9454 ecclk, false, &dividers); in cik_set_vce_clocks()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A 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()
630 clock = table->entries[level].ecclk; in smu8_init_vce_limit()
632 clock = table->entries[table->count - 1].ecclk; in smu8_init_vce_limit()
1301 ptable->entries[ptable->count - 1].ecclk; in smu8_dpm_update_vce_dpm()
1746 uint32_t sclk, vclk, dclk, ecclk, tmp, activity_percent; in smu8_read_sensor() local
1804 ecclk = vce_table->entries[vce_index].ecclk; in smu8_read_sensor()
1805 *((uint32_t *)value) = ecclk; in smu8_read_sensor()
H A Dsmu10_hwmgr.h132 uint32_t ecclk; member
H A Dsmu8_hwmgr.h148 uint32_t ecclk; member
H A Dsmu7_hwmgr.h74 uint32_t ecclk; member
H A Dvega10_hwmgr.h102 uint32_t ecclk; member
H A Dvega20_hwmgr.h119 uint32_t ecclk; member
H A Dprocesspptables.c1254 vce_table->entries[i].ecclk = ((unsigned long)entry->ucECClkHigh << 16) in get_vce_clock_voltage_limit_table()
1689 …vce_state->ecclk = ((uint32_t)vce_clock_info->ucECClkHigh << 16) | le16_to_cpu(vce_clock_info->usE… in get_vce_state_table_entry()
H A Dprocess_pptables_v1_0.c1339 vce_state->ecclk = le32_to_cpu(mm_dep_record->ulEClk); in ppt_get_vce_state_table_entry_v1_0()
H A Dsmu7_hwmgr.c4745 … &= ((psa->vce_clks.evclk == psb->vce_clks.evclk) && (psa->vce_clks.ecclk == psb->vce_clks.ecclk)); in smu7_check_states_equal()
H A Dvega10_hwmgr.c5069 (vega10_psa->vce_clks.ecclk == vega10_psb->vce_clks.ecclk)); in vega10_check_states_equal()
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dpower_state.h182 unsigned long ecclk; member
H A Dhwmgr.h103 uint32_t ecclk; member
157 uint32_t ecclk; member
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dlegacy_dpm.c441 adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = in amdgpu_parse_extended_power_table()
457 adev->pm.dpm.vce_states[i].ecclk = in amdgpu_parse_extended_power_table()
/linux/drivers/gpu/drm/amd/include/
H A Dkgd_pp_interface.h40 u32 ecclk; member