Home
last modified time | relevance | path

Searched refs:dram_config (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/ast/
H A Dast_2300.c87 u32 dram_config; member
725 param->dram_config = 0x130; in get_ddr3_info()
729 param->dram_config = 0x131; in get_ddr3_info()
732 param->dram_config = 0x132; in get_ddr3_info()
735 param->dram_config = 0x133; in get_ddr3_info()
742 param->dram_config |= 0x00; in get_ddr3_info()
745 param->dram_config |= 0x04; in get_ddr3_info()
748 param->dram_config |= 0x08; in get_ddr3_info()
751 param->dram_config |= 0x0c; in get_ddr3_info()
772 ast_moutdwm(ast, 0x1E6E0004, param->dram_config); in ddr3_init()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_mcg/
H A Ddml2_mcg_dcn4.c15 … long long uclk_to_dram_bw_kbps(unsigned long uclk_khz, const struct dml2_dram_params *dram_config) in uclk_to_dram_bw_kbps() argument
19 …kbps = (unsigned long long) uclk_khz * dram_config->channel_count * dram_config->channel_width_byt… in uclk_to_dram_bw_kbps()
63 …s = uclk_to_dram_bw_kbps(soc_bb->clk_table.uclk.clk_values_khz[i], &soc_bb->clk_table.dram_config); in build_min_clk_table_fine_grained()
138 …s = uclk_to_dram_bw_kbps(soc_bb->clk_table.uclk.clk_values_khz[i], &soc_bb->clk_table.dram_config); in build_min_clk_table_coarse_grained()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_dpmm/
H A Ddml2_dpmm_dcn4.c10 …_khz(unsigned long long bandwidth_kbps, const struct dml2_dram_params *dram_config, struct dml2_mc… in dram_bw_kbps_to_uclk_khz() argument
14 if (!dram_config->alt_clock_bw_conversion) { in dram_bw_kbps_to_uclk_khz()
17 …uclk_bytes_per_tick = dram_config->channel_count * dram_config->channel_width_bytes * dram_config-… in dram_bw_kbps_to_uclk_khz()
47 &in_out->soc_bb->clk_table.dram_config, &in_out->min_clk_table->dram_bw_table); in get_minimum_clocks_for_latency()
68 &in_out->soc_bb->clk_table.dram_config, &in_out->min_clk_table->dram_bw_table); in calculate_system_active_minimums()
73 &in_out->soc_bb->clk_table.dram_config, &in_out->min_clk_table->dram_bw_table); in calculate_system_active_minimums()
77 &in_out->soc_bb->clk_table.dram_config, &in_out->min_clk_table->dram_bw_table); in calculate_system_active_minimums()
116 &in_out->soc_bb->clk_table.dram_config, &in_out->min_clk_table->dram_bw_table); in calculate_svp_prefetch_minimums()
120 &in_out->soc_bb->clk_table.dram_config, &in_out->min_clk_table->dram_bw_table); in calculate_svp_prefetch_minimums()
149 &in_out->soc_bb->clk_table.dram_config, &in_out->min_clk_table->dram_bw_table); in calculate_svp_prefetch_minimums()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/
H A Ddml_top_soc_parameter_types.h136 struct dml2_dram_params dram_config; member
/linux/drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn401/
H A Ddcn401_soc_and_ip_translator.c205 dml_clk_table->dram_config.channel_count = dc_bw_params->num_channels; in dcn401_convert_dc_clock_table_to_soc_bb_clock_table()
206 dml_clk_table->dram_config.channel_width_bytes = dc_bw_params->dram_channel_width_bytes; in dcn401_convert_dc_clock_table_to_soc_bb_clock_table()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/bounding_boxes/
H A Ddcn4_soc_bb.h129 .dram_config = {
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c7080 …to_dram_bw_mbps(unsigned long uclk_khz, const struct dml2_dram_params *dram_config, const struct d… in uclk_khz_to_dram_bw_mbps() argument
7085 if (!dram_config->alt_clock_bw_conversion) in uclk_khz_to_dram_bw_mbps()
7086 …bw_mbps = ((double)uclk_khz * dram_config->channel_count * dram_config->channel_width_bytes * dram… in uclk_khz_to_dram_bw_mbps()
7099 …le dram_bw_kbps_to_uclk_mhz(unsigned long long bw_kbps, const struct dml2_dram_params *dram_config) in dram_bw_kbps_to_uclk_mhz() argument
7103 …uclk_mhz = (double)bw_kbps / (dram_config->channel_count * dram_config->channel_width_bytes * dram… in dram_bw_kbps_to_uclk_mhz()
7365 …s->ReorderingBytes = (unsigned int)(mode_lib->soc.clk_table.dram_config.channel_count * math_max3(… in dml_core_ms_prefetch_check()
7980 …tries[in_out_params->min_clk_index].pre_derate_dram_bw_kbps, &mode_lib->soc.clk_table.dram_config); in dml_core_mode_support()
9356 calculate_mcache_setting_params->num_chans = mode_lib->soc.clk_table.dram_config.channel_count; in dml_core_mode_support()
10423 …rogramming->min_clocks.dcn4x.active.uclk_khz, &mode_lib->soc.clk_table.dram_config, &min_clk_table… in dml_core_mode_programming()
10504 …ries[in_out_params->min_clk_index].pre_derate_dram_bw_kbps, &mode_lib->soc.clk_table.dram_config)); in dml_core_mode_programming()
[all …]