Home
last modified time | relevance | path

Searched refs:engine_clock (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Drv770_dpm.h181 u32 engine_clock,
184 u32 engine_clock, u32 memory_clock,
202 int rv740_populate_sclk_value(struct radeon_device *rdev, u32 engine_clock,
205 u32 engine_clock, u32 memory_clock,
227 u32 engine_clock);
Drv740_dpm.c119 int rv740_populate_sclk_value(struct radeon_device *rdev, u32 engine_clock, in rv740_populate_sclk_value() argument
136 engine_clock, false, &dividers); in rv740_populate_sclk_value()
142 tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16384; in rv740_populate_sclk_value()
159 u32 vco_freq = engine_clock * dividers.post_div; in rv740_populate_sclk_value()
175 sclk->sclk_value = cpu_to_be32(engine_clock); in rv740_populate_sclk_value()
186 u32 engine_clock, u32 memory_clock, in rv740_populate_mclk_value() argument
Drv730_dpm.c38 u32 engine_clock, in rv730_populate_sclk_value() argument
55 engine_clock, false, &dividers); in rv730_populate_sclk_value()
67 tmp = (u64) engine_clock * reference_divider * post_divider * 16384; in rv730_populate_sclk_value()
90 u32 vco_freq = engine_clock * post_divider; in rv730_populate_sclk_value()
106 sclk->sclk_value = cpu_to_be32(engine_clock); in rv730_populate_sclk_value()
117 u32 engine_clock, u32 memory_clock, in rv730_populate_mclk_value() argument
Dcypress_dpm.h125 u32 engine_clock, u32 memory_clock);
Drv770_dpm.c388 u32 engine_clock, u32 memory_clock, in rv770_populate_mclk_value() argument
486 u32 engine_clock, in rv770_populate_sclk_value() argument
508 engine_clock, false, &dividers); in rv770_populate_sclk_value()
519 tmp = (u64) engine_clock * reference_divider * post_divider * 16384; in rv770_populate_sclk_value()
541 u32 vco_freq = engine_clock * post_divider; in rv770_populate_sclk_value()
557 sclk->sclk_value = cpu_to_be32(engine_clock); in rv770_populate_sclk_value()
724 u32 engine_clock) in rv770_calculate_memory_refresh_rate() argument
735 mc_arb_rfsh_rate = ((engine_clock * 10) * dram_refresh_rate / dram_rows - 32) / 64; in rv770_calculate_memory_refresh_rate()
Dci_dpm.c2457 const u32 engine_clock, in ci_register_patching_mc_arb() argument
2471 tmp2 = (((0x31 * engine_clock) / 125000) - 1) & 0xff; in ci_register_patching_mc_arb()
2475 tmp2 = (((0x36 * engine_clock) / 137500) - 1) & 0xff; in ci_register_patching_mc_arb()
3121 u32 engine_clock, in ci_calculate_sclk_params() argument
3137 engine_clock, false, &dividers); in ci_calculate_sclk_params()
3150 u32 vco_freq = engine_clock * dividers.post_div; in ci_calculate_sclk_params()
3166 sclk->SclkFrequency = engine_clock; in ci_calculate_sclk_params()
3177 u32 engine_clock, in ci_populate_single_graphic_level() argument
3184 ret = ci_calculate_sclk_params(rdev, engine_clock, graphic_level); in ci_populate_single_graphic_level()
3190 engine_clock, &graphic_level->MinVddc); in ci_populate_single_graphic_level()
[all …]
Dni_dpm.c1999 u32 engine_clock, in ni_calculate_sclk_params() argument
2018 engine_clock, false, &dividers); in ni_calculate_sclk_params()
2025 tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16834; in ni_calculate_sclk_params()
2042 u32 vco_freq = engine_clock * dividers.post_div; in ni_calculate_sclk_params()
2058 sclk->sclk_value = engine_clock; in ni_calculate_sclk_params()
2070 u32 engine_clock, in ni_populate_sclk_value() argument
2076 ret = ni_calculate_sclk_params(rdev, engine_clock, &sclk_tmp); in ni_populate_sclk_value()
2161 u32 engine_clock, in ni_populate_mclk_value() argument
Dsi_dpm.c1737 u32 engine_clock,
4254 u32 engine_clock) in si_calculate_memory_refresh_rate() argument
4267 mc_arb_rfsh_rate = ((engine_clock * 10) * dram_refresh_rate / dram_rows - 32) / 64; in si_calculate_memory_refresh_rate()
4764 u32 engine_clock, in si_calculate_sclk_params() argument
4783 engine_clock, false, &dividers); in si_calculate_sclk_params()
4789 tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16384; in si_calculate_sclk_params()
4806 u32 vco_freq = engine_clock * dividers.post_div; in si_calculate_sclk_params()
4822 sclk->sclk_value = engine_clock; in si_calculate_sclk_params()
4834 u32 engine_clock, in si_populate_sclk_value() argument
4840 ret = si_calculate_sclk_params(rdev, engine_clock, &sclk_tmp); in si_populate_sclk_value()
[all …]
Dcypress_dpm.c473 u32 engine_clock, u32 memory_clock, in cypress_populate_mclk_value() argument
903 u32 engine_clock, u32 memory_clock) in cypress_calculate_burst_time() argument
907 u32 result = (4 * multiplier * engine_clock) / (memory_clock / 2); in cypress_calculate_burst_time()
Drv6xx_dpm.c782 u32 engine_clock) in calculate_memory_refresh_rate() argument
791 return ((engine_clock * 10) * dram_refresh_rate / dram_rows - 32) / 64; in calculate_memory_refresh_rate()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c3307 if (smu7_ps->performance_levels[i].engine_clock > max_limits->sclk) in smu7_apply_state_adjust_rules()
3308 smu7_ps->performance_levels[i].engine_clock = max_limits->sclk; in smu7_apply_state_adjust_rules()
3358 sclk = smu7_ps->performance_levels[0].engine_clock; in smu7_apply_state_adjust_rules()
3375 smu7_ps->performance_levels[0].engine_clock = sclk; in smu7_apply_state_adjust_rules()
3378 smu7_ps->performance_levels[1].engine_clock = in smu7_apply_state_adjust_rules()
3379 (smu7_ps->performance_levels[1].engine_clock >= in smu7_apply_state_adjust_rules()
3380 smu7_ps->performance_levels[0].engine_clock) ? in smu7_apply_state_adjust_rules()
3381 smu7_ps->performance_levels[1].engine_clock : in smu7_apply_state_adjust_rules()
3382 smu7_ps->performance_levels[0].engine_clock; in smu7_apply_state_adjust_rules()
3433 smu7_ps->performance_levels[i].engine_clock = stable_pstate_sclk; in smu7_apply_state_adjust_rules()
[all …]
Dppatomctrl.h302 …t_engine_clock_spread_spectrum(struct pp_hwmgr *hwmgr, const uint32_t engine_clock, pp_atomctrl_in…
305 extern int atomctrl_set_engine_dram_timings_rv770(struct pp_hwmgr *hwmgr, uint32_t engine_clock, ui…
Dsmu10_hwmgr.h76 uint32_t engine_clock; member
Dsmu7_hwmgr.h56 uint32_t engine_clock; member
Dppatomctrl.c211 uint32_t engine_clock, in atomctrl_set_engine_dram_timings_rv770() argument
220 cpu_to_le32((engine_clock & SET_CLOCK_FREQ_MASK) | in atomctrl_set_engine_dram_timings_rv770()
1334 const uint32_t engine_clock, in atomctrl_get_engine_clock_spread_spectrum() argument
1338 ASIC_INTERNAL_ENGINE_SS, engine_clock, ssInfo); in atomctrl_get_engine_clock_spread_spectrum()
Dsmu10_hwmgr.c887 smu10_ps->levels[index].engine_clock = 0; in smu10_dpm_get_pp_table_entry_callback()
1127 clock_info->min_eng_clk = ps->levels[0].engine_clock / (1 << (ps->levels[0].ss_divider_index)); in smu10_get_current_shallow_sleep_clocks()
1128 …clock_info->max_eng_clk = ps->levels[ps->level - 1].engine_clock / (1 << (ps->levels[ps->level - 1… in smu10_get_current_shallow_sleep_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Diceland_smumgr.c796 uint32_t engine_clock, SMU71_Discrete_GraphicsLevel *sclk) in iceland_calculate_sclk_params() argument
811 result = atomctrl_get_engine_pll_dividers_vi(hwmgr, engine_clock, &dividers); in iceland_calculate_sclk_params()
842 uint32_t vcoFreq = engine_clock * dividers.uc_pll_post_div; in iceland_calculate_sclk_params()
863 sclk->SclkFrequency = engine_clock; in iceland_calculate_sclk_params()
892 uint32_t engine_clock, in iceland_populate_single_graphic_level() argument
898 result = iceland_calculate_sclk_params(hwmgr, engine_clock, graphic_level); in iceland_populate_single_graphic_level()
902 hwmgr->dyn_state.vddc_dependency_on_sclk, engine_clock, in iceland_populate_single_graphic_level()
908 graphic_level->SclkFrequency = engine_clock; in iceland_populate_single_graphic_level()
914 engine_clock, in iceland_populate_single_graphic_level()
937 smu7_get_sleep_divider_id_from_clock(engine_clock, in iceland_populate_single_graphic_level()
[all …]
Dtonga_smumgr.c539 uint32_t engine_clock, SMU72_Discrete_GraphicsLevel *sclk) in tonga_calculate_sclk_params() argument
554 result = atomctrl_get_engine_pll_dividers_vi(hwmgr, engine_clock, &dividers); in tonga_calculate_sclk_params()
585 uint32_t vcoFreq = engine_clock * dividers.uc_pll_post_div; in tonga_calculate_sclk_params()
606 sclk->SclkFrequency = engine_clock; in tonga_calculate_sclk_params()
617 uint32_t engine_clock, in tonga_populate_single_graphic_level() argument
627 result = tonga_calculate_sclk_params(hwmgr, engine_clock, graphic_level); in tonga_populate_single_graphic_level()
636 vdd_dep_table, engine_clock, in tonga_populate_single_graphic_level()
643 graphic_level->SclkFrequency = engine_clock; in tonga_populate_single_graphic_level()
664 smu7_get_sleep_divider_id_from_clock(engine_clock, in tonga_populate_single_graphic_level()
1459 uint32_t engine_clock, in tonga_populate_memory_timing_parameters() argument
[all …]
Dci_smumgr.c1624 uint32_t engine_clock, in ci_populate_memory_timing_parameters() argument
1635 engine_clock, memory_clock); in ci_populate_memory_timing_parameters()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c1845 u32 engine_clock,
4733 u32 engine_clock) in si_calculate_memory_refresh_rate() argument
4746 mc_arb_rfsh_rate = ((engine_clock * 10) * dram_refresh_rate / dram_rows - 32) / 64; in si_calculate_memory_refresh_rate()
5266 u32 engine_clock, in si_calculate_sclk_params() argument
5285 engine_clock, false, &dividers); in si_calculate_sclk_params()
5291 tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16384; in si_calculate_sclk_params()
5308 u32 vco_freq = engine_clock * dividers.post_div; in si_calculate_sclk_params()
5324 sclk->sclk_value = engine_clock; in si_calculate_sclk_params()
5336 u32 engine_clock, in si_populate_sclk_value() argument
5342 ret = si_calculate_sclk_params(adev, engine_clock, &sclk_tmp); in si_populate_sclk_value()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h400 uint32_t engine_clock; member