Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/gpu/drm/radeon/
Dtrinity_dpm.c950 if ((old_rps->evclk != new_rps->evclk) || in trinity_set_vce_clock()
953 if (new_rps->evclk || new_rps->ecclk) in trinity_set_vce_clock()
957 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in trinity_set_vce_clock()
1461 u32 evclk, u32 ecclk, u16 *voltage) in trinity_get_vce_clock_voltage() argument
1468 if (((evclk == 0) && (ecclk == 0)) || in trinity_get_vce_clock_voltage()
1475 if ((evclk <= table->entries[i].evclk) && in trinity_get_vce_clock_voltage()
1511 new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in trinity_apply_state_adjust_rules()
1514 new_rps->evclk = 0; in trinity_apply_state_adjust_rules()
1532 trinity_get_vce_clock_voltage(rdev, new_rps->evclk, new_rps->ecclk, &min_vce_voltage); in trinity_apply_state_adjust_rules()
Dkv_dpm.c749 pi->vce_level[i].Frequency = cpu_to_be32(table->entries[i].evclk); in kv_populate_vce_table()
753 (u8)kv_get_clk_bypass(rdev, table->entries[i].evclk); in kv_populate_vce_table()
756 table->entries[i].evclk, false, &dividers); in kv_populate_vce_table()
1280 static u8 kv_get_vce_boot_level(struct radeon_device *rdev, u32 evclk) in kv_get_vce_boot_level() argument
1287 if (table->entries[i].evclk >= evclk) in kv_get_vce_boot_level()
1303 if (radeon_new_state->evclk > 0 && radeon_current_state->evclk == 0) { in kv_update_vce_dpm()
1310 pi->vce_boot_level = kv_get_vce_boot_level(rdev, radeon_new_state->evclk); in kv_update_vce_dpm()
1327 } else if (radeon_new_state->evclk == 0 && radeon_current_state->evclk > 0) { in kv_update_vce_dpm()
1952 new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in kv_apply_state_adjust_rules()
1955 new_rps->evclk = 0; in kv_apply_state_adjust_rules()
[all …]
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);
Dsi_dpm.c2915 u32 evclk, u32 ecclk, u16 *voltage) in si_get_vce_clock_voltage() argument
2922 if (((evclk == 0) && (ecclk == 0)) || in si_get_vce_clock_voltage()
2929 if ((evclk <= table->entries[i].evclk) && in si_get_vce_clock_voltage()
2988 rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in si_apply_state_adjust_rules()
2990 si_get_vce_clock_voltage(rdev, rps->evclk, rps->ecclk, in si_apply_state_adjust_rules()
2993 rps->evclk = 0; in si_apply_state_adjust_rules()
5915 if ((old_rps->evclk != new_rps->evclk) || in si_set_vce_clock()
5918 if (new_rps->evclk || new_rps->ecclk) in si_set_vce_clock()
5922 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in si_set_vce_clock()
Dradeon.h1339 u32 evclk; member
1434 u32 evclk; member
1523 u32 evclk; member
1956 int (*set_vce_clocks)(struct radeon_device *rdev, u32 evclk, u32 ecclk);
Dci_dpm.c781 rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in ci_apply_state_adjust_rules()
784 rps->evclk = 0; in ci_apply_state_adjust_rules()
2664 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[count].evclk; in ci_populate_smc_vce_level()
4068 if (table->entries[i].evclk >= min_evclk) in ci_get_vce_boot_level()
4083 if (radeon_current_state->evclk != radeon_new_state->evclk) { in ci_update_vce_dpm()
4084 if (radeon_new_state->evclk) { in ci_update_vce_dpm()
Dr600_dpm.c1107 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].evclk = in r600_parse_extended_power_table()
1122 rdev->pm.dpm.vce_states[i].evclk = in r600_parse_extended_power_table()
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.c978 pi->vce_level[i].Frequency = cpu_to_be32(table->entries[i].evclk); in kv_populate_vce_table()
982 (u8)kv_get_clk_bypass(adev, table->entries[i].evclk); in kv_populate_vce_table()
985 table->entries[i].evclk, false, &dividers); in kv_populate_vce_table()
1533 static u8 kv_get_vce_boot_level(struct amdgpu_device *adev, u32 evclk) in kv_get_vce_boot_level() argument
1540 if (table->entries[i].evclk >= evclk) in kv_get_vce_boot_level()
1556 if (amdgpu_new_state->evclk > 0 && amdgpu_current_state->evclk == 0) { in kv_update_vce_dpm()
1560 pi->vce_boot_level = kv_get_vce_boot_level(adev, amdgpu_new_state->evclk); in kv_update_vce_dpm()
1576 } else if (amdgpu_new_state->evclk == 0 && amdgpu_current_state->evclk > 0) { in kv_update_vce_dpm()
2211 new_rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk; in kv_apply_state_adjust_rules()
2214 new_rps->evclk = 0; in kv_apply_state_adjust_rules()
[all …]
Dsi_dpm.c3031 u32 evclk, u32 ecclk, u16 *voltage) in si_get_vce_clock_voltage() argument
3038 if (((evclk == 0) && (ecclk == 0)) || in si_get_vce_clock_voltage()
3045 if ((evclk <= table->entries[i].evclk) && in si_get_vce_clock_voltage()
3461 rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk; in si_apply_state_adjust_rules()
3463 si_get_vce_clock_voltage(adev, rps->evclk, rps->ecclk, in si_apply_state_adjust_rules()
3466 rps->evclk = 0; in si_apply_state_adjust_rules()
7009 if ((old_rps->evclk != new_rps->evclk) || in si_set_vce_clock()
7012 if (new_rps->evclk || new_rps->ecclk) { in si_set_vce_clock()
8001 *equal &= ((cps->evclk == rps->evclk) && (cps->ecclk == rps->ecclk)); in si_check_state_equal()
Dlegacy_dpm.c439 adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].evclk = in amdgpu_parse_extended_power_table()
455 adev->pm.dpm.vce_states[i].evclk = in amdgpu_parse_extended_power_table()
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/inc/
Dpower_state.h181 unsigned long evclk; member
Dhwmgr.h104 uint32_t evclk; member
158 uint32_t evclk; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu10_hwmgr.h131 uint32_t evclk; member
Dsmu8_hwmgr.h147 uint32_t evclk; member
Dsmu7_hwmgr.h73 uint32_t evclk; member
Dvega10_hwmgr.h101 uint32_t evclk; member
Dvega20_hwmgr.h118 uint32_t evclk; member
Dprocesspptables.c1252 vce_table->entries[i].evclk = ((unsigned long)entry->ucEVClkHigh << 16) in get_vce_clock_voltage_limit_table()
1688 …vce_state->evclk = ((uint32_t)vce_clock_info->ucEVClkHigh << 16) | le16_to_cpu(vce_clock_info->usE… in get_vce_state_table_entry()
/linux-6.6.21/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h63 u32 evclk; member
163 u32 evclk; member
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dsi.c1898 static int si_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in si_set_vce_clocks() argument
1912 if (!evclk || !ecclk) { in si_set_vce_clocks()
1919 r = si_calc_upll_dividers(adev, evclk, ecclk, 125000, 250000, in si_set_vce_clocks()
Dsoc21.c424 static int soc21_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in soc21_set_vce_clocks() argument
Dnv.c508 static int nv_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in nv_set_vce_clocks() argument
Dsoc15.c637 static int soc15_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in soc15_set_vce_clocks() argument
Dcik.c1493 static int cik_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in cik_set_vce_clocks() argument
/linux-6.6.21/drivers/gpu/drm/amd/include/
Dkgd_pp_interface.h38 u32 evclk; member

12