Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c100 const struct clk_limit_table *dc_clk_table = &dc_bw_params->clk_table; in dml21_apply_soc_bb_overrides() local
107 if (dc_clk_table->num_entries_per_clk.num_dcfclk_levels) { in dml21_apply_soc_bb_overrides()
108 dml_clk_table->dcfclk.num_clk_values = dc_clk_table->num_entries_per_clk.num_dcfclk_levels; 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()
121 dml_clk_table->dcfclk.clk_values_khz[i] = dc_clk_table->entries[i].dcfclk_mhz * 1000; in dml21_apply_soc_bb_overrides()
130 if (dc_clk_table->num_entries_per_clk.num_fclk_levels) { in dml21_apply_soc_bb_overrides()
131 dml_clk_table->fclk.num_clk_values = dc_clk_table->num_entries_per_clk.num_fclk_levels; 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()
[all …]