Searched refs:uclk_khz (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/ |
D | dml2_dpmm_dcn4.c | 12 double uclk_khz = 0; in dram_bw_kbps_to_uclk_khz() local 17 uclk_khz = (double)bandwidth_kbps / uclk_mbytes_per_tick; in dram_bw_kbps_to_uclk_khz() 19 return uclk_khz; in dram_bw_kbps_to_uclk_khz() 85 …in_out->programming->min_clocks.dcn4x.active.uclk_khz = dml_round_up(min_uclk_bw > min_uclk_latenc… in calculate_system_active_minimums() 125 …in_out->programming->min_clocks.dcn4x.svp_prefetch.uclk_khz = dml_round_up(min_uclk_bw > min_uclk_… in calculate_svp_prefetch_minimums() 149 …in_out->programming->min_clocks.dcn4x.idle.uclk_khz = dml_round_up(min_uclk_avg > min_uclk_latency… in calculate_idle_minimums() 259 result = round_up_to_next_dpm(&display_cfg->min_clocks.dcn4x.active.uclk_khz, &state_table->uclk); in map_soc_min_clocks_to_dpm_fine_grained() 266 …result = round_up_to_next_dpm(&display_cfg->min_clocks.dcn4x.svp_prefetch.uclk_khz, &state_table->… in map_soc_min_clocks_to_dpm_fine_grained() 273 result = round_up_to_next_dpm(&display_cfg->min_clocks.dcn4x.idle.uclk_khz, &state_table->uclk); in map_soc_min_clocks_to_dpm_fine_grained() 287 display_cfg->min_clocks.dcn4x.active.uclk_khz <= state_table->uclk.clk_values_khz[index]) { in map_soc_min_clocks_to_dpm_coarse_grained() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
D | dml_top_types.h | 373 unsigned long uclk_khz; member 381 unsigned long uclk_khz; member 386 unsigned long uclk_khz; member 391 unsigned long uclk_khz; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_mcg/ |
D | dml2_mcg_dcn4.c | 15 static unsigned long long uclk_to_dram_bw_kbps(unsigned long uclk_khz, const struct dml2_dram_param… in uclk_to_dram_bw_kbps() argument 19 …bw_kbps = (unsigned long long) uclk_khz * dram_config->channel_count * dram_config->channel_width_… in uclk_to_dram_bw_kbps()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_translation_helper.c | 1030 …w.dcn.clk.dramclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.active.uclk_khz; in dml21_copy_clocks_to_dc_state() 1032 …cn.clk.idle_dramclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.idle.uclk_khz; in dml21_copy_clocks_to_dc_state()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_dcn4.c | 553 …in_clk_index = lookup_uclk_dpm_index_by_freq(in_out->programming->min_clocks.dcn4x.active.uclk_khz, in core_dcn4_mode_programming()
|
D | dml2_core_dcn4_calcs.c | 6798 static double uclk_khz_to_dram_bw_mbps(unsigned long uclk_khz, const struct dml2_dram_params *dram_… in uclk_khz_to_dram_bw_mbps() argument 6801 …bw_mbps = ((double)uclk_khz * dram_config->channel_count * dram_config->channel_width_bytes * dram… in uclk_khz_to_dram_bw_mbps() 6907 unsigned int uclk_khz; member 6916 .uclk_khz = 96000, 6920 .uclk_khz = 435000, 6924 .uclk_khz = 521000, 6928 .uclk_khz = 731000, 6932 .uclk_khz = 822000, 6936 .uclk_khz = 962000, 6940 .uclk_khz = 1069000, [all …]
|
D | dml2_core_shared.c | 665 static double uclk_khz_to_dram_bw_mbps(unsigned long uclk_khz, const struct dml2_dram_params *dram_… 8969 static double uclk_khz_to_dram_bw_mbps(unsigned long uclk_khz, const struct dml2_dram_params *dram_… in uclk_khz_to_dram_bw_mbps() argument 8972 …bw_mbps = ((double)uclk_khz * dram_config->channel_count * dram_config->channel_width_bytes * dram… in uclk_khz_to_dram_bw_mbps() 9840 …mode_lib->mp.dram_bw_mbps = uclk_khz_to_dram_bw_mbps(programming->min_clocks.dcn4x.active.uclk_khz… in dml2_core_shared_mode_programming() 9841 mode_lib->mp.uclk_freq_mhz = programming->min_clocks.dcn4x.active.uclk_khz / 1000.0; in dml2_core_shared_mode_programming() 9844 …mode_lib->mp.qos_param_index = get_qos_param_index(programming->min_clocks.dcn4x.active.uclk_khz, … in dml2_core_shared_mode_programming() 9845 …ex = get_active_min_uclk_dpm_index(programming->min_clocks.dcn4x.active.uclk_khz, &mode_lib->soc.c… in dml2_core_shared_mode_programming()
|