Home
last modified time | relevance | path

Searched refs:evclk (Results 1 – 25 of 32) sorted by relevance

12

/drivers/gpu/drm/radeon/
Dtrinity_dpm.c993 if ((old_rps->evclk != new_rps->evclk) || in trinity_set_vce_clock()
996 if (new_rps->evclk || new_rps->ecclk) in trinity_set_vce_clock()
1000 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in trinity_set_vce_clock()
1504 u32 evclk, u32 ecclk, u16 *voltage) in trinity_get_vce_clock_voltage() argument
1511 if (((evclk == 0) && (ecclk == 0)) || in trinity_get_vce_clock_voltage()
1518 if ((evclk <= table->entries[i].evclk) && in trinity_get_vce_clock_voltage()
1554 new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in trinity_apply_state_adjust_rules()
1557 new_rps->evclk = 0; in trinity_apply_state_adjust_rules()
1575 trinity_get_vce_clock_voltage(rdev, new_rps->evclk, new_rps->ecclk, &min_vce_voltage); in trinity_apply_state_adjust_rules()
Dkv_dpm.c906 pi->vce_level[i].Frequency = cpu_to_be32(table->entries[i].evclk); in kv_populate_vce_table()
910 (u8)kv_get_clk_bypass(rdev, table->entries[i].evclk); in kv_populate_vce_table()
913 table->entries[i].evclk, false, &dividers); in kv_populate_vce_table()
1459 static u8 kv_get_vce_boot_level(struct radeon_device *rdev, u32 evclk) in kv_get_vce_boot_level() argument
1466 if (table->entries[i].evclk >= evclk) in kv_get_vce_boot_level()
1482 if (radeon_new_state->evclk > 0 && radeon_current_state->evclk == 0) { in kv_update_vce_dpm()
1489 pi->vce_boot_level = kv_get_vce_boot_level(rdev, radeon_new_state->evclk); in kv_update_vce_dpm()
1506 } else if (radeon_new_state->evclk == 0 && radeon_current_state->evclk > 0) { in kv_update_vce_dpm()
2154 new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in kv_apply_state_adjust_rules()
2157 new_rps->evclk = 0; in kv_apply_state_adjust_rules()
[all …]
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.c2935 u32 evclk, u32 ecclk, u16 *voltage) in si_get_vce_clock_voltage() argument
2942 if (((evclk == 0) && (ecclk == 0)) || in si_get_vce_clock_voltage()
2949 if ((evclk <= table->entries[i].evclk) && in si_get_vce_clock_voltage()
3006 rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in si_apply_state_adjust_rules()
3008 si_get_vce_clock_voltage(rdev, rps->evclk, rps->ecclk, in si_apply_state_adjust_rules()
3011 rps->evclk = 0; in si_apply_state_adjust_rules()
5931 if ((old_rps->evclk != new_rps->evclk) || in si_set_vce_clock()
5934 if (new_rps->evclk || new_rps->ecclk) in si_set_vce_clock()
5938 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in si_set_vce_clock()
Dradeon.h1349 u32 evclk; member
1444 u32 evclk; member
1533 u32 evclk; member
1965 int (*set_vce_clocks)(struct radeon_device *rdev, u32 evclk, u32 ecclk);
Dci_dpm.c803 rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in ci_apply_state_adjust_rules()
806 rps->evclk = 0; in ci_apply_state_adjust_rules()
2679 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[count].evclk; in ci_populate_smc_vce_level()
4083 if (table->entries[i].evclk >= min_evclk) in ci_get_vce_boot_level()
4098 if (radeon_current_state->evclk != radeon_new_state->evclk) { in ci_update_vce_dpm()
4099 if (radeon_new_state->evclk) { in ci_update_vce_dpm()
Dr600_dpm.c1108 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].evclk = in r600_parse_extended_power_table()
1123 rdev->pm.dpm.vce_states[i].evclk = in r600_parse_extended_power_table()
/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c992 pi->vce_level[i].Frequency = cpu_to_be32(table->entries[i].evclk); in kv_populate_vce_table()
996 (u8)kv_get_clk_bypass(adev, table->entries[i].evclk); in kv_populate_vce_table()
999 table->entries[i].evclk, false, &dividers); in kv_populate_vce_table()
1526 static u8 kv_get_vce_boot_level(struct amdgpu_device *adev, u32 evclk) in kv_get_vce_boot_level() argument
1533 if (table->entries[i].evclk >= evclk) in kv_get_vce_boot_level()
1549 if (amdgpu_new_state->evclk > 0 && amdgpu_current_state->evclk == 0) { in kv_update_vce_dpm()
1554 pi->vce_boot_level = kv_get_vce_boot_level(adev, amdgpu_new_state->evclk); in kv_update_vce_dpm()
1570 } else if (amdgpu_new_state->evclk == 0 && amdgpu_current_state->evclk > 0) { in kv_update_vce_dpm()
2207 new_rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk; in kv_apply_state_adjust_rules()
2210 new_rps->evclk = 0; in kv_apply_state_adjust_rules()
[all …]
Damdgpu_dpm.h65 u32 evclk; member
162 u32 evclk; member
Damdgpu_dpm.c549 adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].evclk = in amdgpu_parse_extended_power_table()
565 adev->pm.dpm.vce_states[i].evclk = in amdgpu_parse_extended_power_table()
Dsi_dpm.c3033 u32 evclk, u32 ecclk, u16 *voltage) in si_get_vce_clock_voltage() argument
3040 if (((evclk == 0) && (ecclk == 0)) || in si_get_vce_clock_voltage()
3047 if ((evclk <= table->entries[i].evclk) && in si_get_vce_clock_voltage()
3464 rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk; in si_apply_state_adjust_rules()
3466 si_get_vce_clock_voltage(adev, rps->evclk, rps->ecclk, in si_apply_state_adjust_rules()
3469 rps->evclk = 0; in si_apply_state_adjust_rules()
7961 *equal &= ((cps->evclk == rps->evclk) && (cps->ecclk == rps->ecclk)); in si_check_state_equal()
Dci_dpm.c933 rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk; in ci_apply_state_adjust_rules()
936 rps->evclk = 0; in ci_apply_state_adjust_rules()
2831 adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[count].evclk; in ci_populate_smc_vce_level()
4286 if (table->entries[i].evclk >= min_evclk) in ci_get_vce_boot_level()
4301 if (amdgpu_current_state->evclk != amdgpu_new_state->evclk) { in ci_update_vce_dpm()
4302 if (amdgpu_new_state->evclk) { in ci_update_vce_dpm()
6197 *equal &= ((cps->evclk == rps->evclk) && (cps->ecclk == rps->ecclk)); in ci_check_state_equal()
Dsoc15.c467 static int soc15_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in soc15_set_vce_clocks() argument
Dcik.c1261 static int cik_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in cik_set_vce_clocks() argument
Damdgpu_kms.c607 vce_clk_table.entries[i].eclk = vce_state->evclk; in amdgpu_info_ioctl()
/drivers/gpu/drm/amd/powerplay/inc/
Dpower_state.h173 unsigned long evclk; member
Dhwmgr.h136 uint32_t evclk; member
188 uint32_t evclk; member
255 uint32_t evclk; member
/drivers/gpu/drm/amd/include/
Damd_shared.h106 u32 evclk; member
/drivers/gpu/drm/amd/powerplay/hwmgr/
Drv_hwmgr.h131 uint32_t evclk; member
Dsmu7_hwmgr.h78 uint32_t evclk; member
Dcz_hwmgr.h151 uint32_t evclk; member
Dvega10_hwmgr.h101 uint32_t evclk; member
Dcz_hwmgr.c1113 cz_ps->evclk = hwmgr->vce_arbiter.evclk; in cz_apply_state_adjust_rules()
1119 hwmgr->vce_arbiter.evclk != 0 || hwmgr->vce_arbiter.ecclk != 0); in cz_apply_state_adjust_rules()
Dprocesspptables.c1104 vce_table->entries[i].evclk = ((unsigned long)entry->ucEVClkHigh << 16) in get_vce_clock_voltage_limit_table()
1552 vce_state->evclk = ((uint32_t)vce_clock_info->ucEVClkHigh << 16) | vce_clock_info->usEVClkLow; in get_vce_state_table_entry()
Dsmu7_hwmgr.c2722 smu7_ps->vce_clks.evclk = hwmgr->vce_arbiter.evclk; in smu7_apply_state_adjust_rules()
4087 …*equal &= ((psa->vce_clks.evclk == psb->vce_clks.evclk) && (psa->vce_clks.ecclk == psb->vce_clks.e… in smu7_check_states_equal()

12