Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2/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/ast/
H A Dast_post.c377 u32 dram_config; member
1039 param->dram_config = 0x130; in get_ddr3_info()
1043 param->dram_config = 0x131; in get_ddr3_info()
1046 param->dram_config = 0x132; in get_ddr3_info()
1049 param->dram_config = 0x133; in get_ddr3_info()
1056 param->dram_config |= 0x00; in get_ddr3_info()
1059 param->dram_config |= 0x04; in get_ddr3_info()
1062 param->dram_config |= 0x08; in get_ddr3_info()
1065 param->dram_config |= 0x0c; in get_ddr3_info()
1087 ast_moutdwm(ast, 0x1E6E0004, param->dram_config); in ddr3_init()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/
H A Ddml2_dpmm_dcn4.c10 …_bw_kbps_to_uclk_khz(unsigned long long bandwidth_kbps, const struct dml2_dram_params *dram_config) in dram_bw_kbps_to_uclk_khz() argument
15 …uclk_mbytes_per_tick = dram_config->channel_count * dram_config->channel_width_bytes * dram_config in dram_bw_kbps_to_uclk_khz()
37 &in_out->soc_bb->clk_table.dram_config); in get_minimum_clocks_for_latency()
56 …z(mode_support_result->global.active.average_bw_dram_kbps, &in_out->soc_bb->clk_table.dram_config); in calculate_system_active_minimums()
59 …hz(mode_support_result->global.active.urgent_bw_dram_kbps, &in_out->soc_bb->clk_table.dram_config); in calculate_system_active_minimums()
100 …_support_result->global.svp_prefetch.average_bw_dram_kbps, &in_out->soc_bb->clk_table.dram_config); in calculate_svp_prefetch_minimums()
103 …e_support_result->global.svp_prefetch.urgent_bw_dram_kbps, &in_out->soc_bb->clk_table.dram_config); in calculate_svp_prefetch_minimums()
131 …_support_result->global.svp_prefetch.average_bw_dram_kbps, &in_out->soc_bb->clk_table.dram_config); in calculate_svp_prefetch_minimums()
134 …e_support_result->global.svp_prefetch.urgent_bw_dram_kbps, &in_out->soc_bb->clk_table.dram_config); in calculate_svp_prefetch_minimums()
170 …z(mode_support_result->global.active.average_bw_dram_kbps, &in_out->soc_bb->clk_table.dram_config); in calculate_idle_minimums()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
H A Ddml_top_soc_parameter_types.h128 struct dml2_dram_params dram_config; member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/bounding_boxes/
H A Ddcn4_soc_bb.h130 .dram_config = {
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_translation_helper.c298 dml_clk_table->dram_config.channel_count = dc_bw_params->num_channels; in dml21_apply_soc_bb_overrides()
301 dml_clk_table->dram_config.channel_count = in_dc->ctx->dc_bios->vram_info.num_chans; in dml21_apply_soc_bb_overrides()
306 dml_clk_table->dram_config.channel_width_bytes = dc_bw_params->dram_channel_width_bytes; in dml21_apply_soc_bb_overrides()
308 …dml_clk_table->dram_config.channel_width_bytes = in_dc->ctx->dc_bios->vram_info.dram_channel_width… in dml21_apply_soc_bb_overrides()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared.c665 …ouble uclk_khz_to_dram_bw_mbps(unsigned long uclk_khz, const struct dml2_dram_params *dram_config);
666 …e dram_bw_kbps_to_uclk_mhz(unsigned long long bw_kbps, const struct dml2_dram_params *dram_config);
780 …tries[in_out_params->min_clk_index].pre_derate_dram_bw_kbps, &mode_lib->soc.clk_table.dram_config); in dml2_core_shared_mode_support()
2063 calculate_mcache_setting_params->num_chans = mode_lib->soc.clk_table.dram_config.channel_count; in dml2_core_shared_mode_support()
2246 …s->ReorderingBytes = (unsigned int)(mode_lib->soc.clk_table.dram_config.channel_count * math_max3(… in dml2_core_shared_mode_support()
8969 …double uclk_khz_to_dram_bw_mbps(unsigned long uclk_khz, const struct dml2_dram_params *dram_config) 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()
8977 …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
8981 …uclk_mhz = (double)bw_kbps / (dram_config->channel_count * dram_config->channel_width_bytes * dram… in dram_bw_kbps_to_uclk_mhz()
9840 …_dram_bw_mbps(programming->min_clocks.dcn4x.active.uclk_khz, &mode_lib->soc.clk_table.dram_config); in dml2_core_shared_mode_programming()
[all …]
H A Ddml2_core_dcn4_calcs.c7091 …double uclk_khz_to_dram_bw_mbps(unsigned long uclk_khz, const struct dml2_dram_params *dram_config) in uclk_khz_to_dram_bw_mbps() argument
7094 …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()
7349 …tries[in_out_params->min_clk_index].pre_derate_dram_bw_kbps, &mode_lib->soc.clk_table.dram_config); in dml_core_mode_support()
8713 calculate_mcache_setting_params->num_chans = mode_lib->soc.clk_table.dram_config.channel_count; in dml_core_mode_support()
8900 …s->ReorderingBytes = (unsigned int)(mode_lib->soc.clk_table.dram_config.channel_count * math_max3(… in dml_core_mode_support()
10402 …_dram_bw_mbps(programming->min_clocks.dcn4x.active.uclk_khz, &mode_lib->soc.clk_table.dram_config); in dml_core_mode_programming()
10480 …ries[in_out_params->min_clk_index].pre_derate_dram_bw_kbps, &mode_lib->soc.clk_table.dram_config)); in dml_core_mode_programming()
10807 calculate_mcache_setting_params->num_chans = mode_lib->soc.clk_table.dram_config.channel_count; in dml_core_mode_programming()
[all …]