Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c99 const struct clk_bw_params *dc_bw_params = in_dc->clk_mgr->bw_params; in dml21_apply_soc_bb_overrides() local
100 const struct clk_limit_table *dc_clk_table = &dc_bw_params->clk_table; in dml21_apply_soc_bb_overrides()
111 if (config->use_clock_dc_limits && dc_bw_params->dc_mode_limit.dcfclk_mhz && in dml21_apply_soc_bb_overrides()
112 dc_clk_table->entries[i].dcfclk_mhz > dc_bw_params->dc_mode_limit.dcfclk_mhz) { in dml21_apply_soc_bb_overrides()
113 … if (i == 0 || dc_clk_table->entries[i-1].dcfclk_mhz < dc_bw_params->dc_mode_limit.dcfclk_mhz) { in dml21_apply_soc_bb_overrides()
114 dml_clk_table->dcfclk.clk_values_khz[i] = dc_bw_params->dc_mode_limit.dcfclk_mhz * 1000; in dml21_apply_soc_bb_overrides()
134 if (config->use_clock_dc_limits && dc_bw_params->dc_mode_limit.fclk_mhz && in dml21_apply_soc_bb_overrides()
135 dc_clk_table->entries[i].fclk_mhz > dc_bw_params->dc_mode_limit.fclk_mhz) { in dml21_apply_soc_bb_overrides()
136 if (i == 0 || dc_clk_table->entries[i-1].fclk_mhz < dc_bw_params->dc_mode_limit.fclk_mhz) { in dml21_apply_soc_bb_overrides()
137 dml_clk_table->fclk.clk_values_khz[i] = dc_bw_params->dc_mode_limit.fclk_mhz * 1000; in dml21_apply_soc_bb_overrides()
[all …]