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 D | dml2_mcg_dcn4.c | 15 … 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 D | ast_post.c | 377 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 D | dml2_dpmm_dcn4.c | 10 …_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 D | dml_top_soc_parameter_types.h | 128 struct dml2_dram_params dram_config; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/bounding_boxes/ |
H A D | dcn4_soc_bb.h | 130 .dram_config = {
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
H A D | dml21_translation_helper.c | 298 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 D | dml2_core_shared.c | 665 …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 D | dml2_core_dcn4_calcs.c | 7091 …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 …]
|