Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddcn31_fpu.c585 int max_dispclk_mhz = 0, max_dppclk_mhz = 0; in dcn31_update_bw_bounding_box() local
601 if (clk_table->entries[i].dispclk_mhz > max_dispclk_mhz) in dcn31_update_bw_bounding_box()
602 max_dispclk_mhz = clk_table->entries[i].dispclk_mhz; in dcn31_update_bw_bounding_box()
626 s[i].dispclk_mhz = max_dispclk_mhz ? max_dispclk_mhz : in dcn31_update_bw_bounding_box()
661 int i, max_dispclk_mhz = 0, max_dppclk_mhz = 0; in dcn315_update_bw_bounding_box() local
677 if (clk_table->entries[i].dispclk_mhz > max_dispclk_mhz) in dcn315_update_bw_bounding_box()
678 max_dispclk_mhz = clk_table->entries[i].dispclk_mhz; in dcn315_update_bw_bounding_box()
698 dcn3_15_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn315_update_bw_bounding_box()
700 dcn3_15_soc.clock_limits[i].dscclk_mhz = max_dispclk_mhz / 3.0; in dcn315_update_bw_bounding_box()
708 dcn3_15_soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn315_update_bw_bounding_box()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddcn314_fpu.c188 int max_dispclk_mhz = 0, max_dppclk_mhz = 0; in dcn314_update_bw_bounding_box_fpu() local
209 if (clk_table->entries[i].dispclk_mhz > max_dispclk_mhz) in dcn314_update_bw_bounding_box_fpu()
210 max_dispclk_mhz = clk_table->entries[i].dispclk_mhz; in dcn314_update_bw_bounding_box_fpu()
244 clock_limits[i].dispclk_mhz = max_dispclk_mhz ? max_dispclk_mhz : in dcn314_update_bw_bounding_box_fpu()
263 if (max_dispclk_mhz) { in dcn314_update_bw_bounding_box_fpu()
264 dcn3_14_soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn314_update_bw_bounding_box_fpu()
265 dc->dml.soc.dispclk_dppclk_vco_speed_mhz = max_dispclk_mhz * 2; in dcn314_update_bw_bounding_box_fpu()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn302/
Ddcn302_fpu.c221 int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, max_phyclk_mhz = 0; in dcn302_fpu_update_bw_bounding_box() local
226 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn302_fpu_update_bw_bounding_box()
227 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn302_fpu_update_bw_bounding_box()
235 if (!max_dispclk_mhz) in dcn302_fpu_update_bw_bounding_box()
236 max_dispclk_mhz = dcn3_02_soc.clock_limits[0].dispclk_mhz; in dcn302_fpu_update_bw_bounding_box()
315 dcn3_02_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn302_fpu_update_bw_bounding_box()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn303/
Ddcn303_fpu.c217 int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, max_phyclk_mhz = 0; in dcn303_fpu_update_bw_bounding_box() local
222 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn303_fpu_update_bw_bounding_box()
223 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn303_fpu_update_bw_bounding_box()
231 if (!max_dispclk_mhz) in dcn303_fpu_update_bw_bounding_box()
232 max_dispclk_mhz = dcn3_03_soc.clock_limits[0].dispclk_mhz; in dcn303_fpu_update_bw_bounding_box()
310 dcn3_03_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn303_fpu_update_bw_bounding_box()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c705 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, max_phyclk_mhz = 0; in dcn321_update_bw_bounding_box_fpu() local
710 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn321_update_bw_bounding_box_fpu()
711 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn321_update_bw_bounding_box_fpu()
719 if (!max_dispclk_mhz) in dcn321_update_bw_bounding_box_fpu()
720 max_dispclk_mhz = dcn3_21_soc.clock_limits[0].dispclk_mhz; in dcn321_update_bw_bounding_box_fpu()
799 dcn3_21_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn321_update_bw_bounding_box_fpu()
802 dcn3_21_soc.clock_limits[i].dscclk_mhz = max_dispclk_mhz / 3; in dcn321_update_bw_bounding_box_fpu()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c2319 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, in dcn32_patch_dpm_table() local
2329 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn32_patch_dpm_table()
2330 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn32_patch_dpm_table()
2347 if (max_dispclk_mhz == 0) in dcn32_patch_dpm_table()
2796 unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, max_phyclk_mhz = 0; in dcn32_update_bw_bounding_box_fpu() local
2804 if (bw_params->clk_table.entries[i].dispclk_mhz > max_dispclk_mhz) in dcn32_update_bw_bounding_box_fpu()
2805 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn32_update_bw_bounding_box_fpu()
2815 if (!max_dispclk_mhz) in dcn32_update_bw_bounding_box_fpu()
2816 max_dispclk_mhz = dcn3_2_soc.clock_limits[0].dispclk_mhz; in dcn32_update_bw_bounding_box_fpu()
2895 dcn3_2_soc.clock_limits[i].dispclk_mhz = max_dispclk_mhz; in dcn32_update_bw_bounding_box_fpu()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c607 if (!dcn30_bb_max_clk->max_dispclk_mhz) in dcn30_fpu_update_max_clk()
608 dcn30_bb_max_clk->max_dispclk_mhz = dcn3_0_soc.clock_limits[0].dispclk_mhz; in dcn30_fpu_update_max_clk()
659 dcn3_0_soc.clock_limits[i].dispclk_mhz = dcn30_bb_max_clk->max_dispclk_mhz; in dcn30_fpu_update_bw_bounding_box()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h573 int max_dispclk_mhz; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2119 if (bw_params->clk_table.entries[i].dispclk_mhz > dcn30_bb_max_clk.max_dispclk_mhz) in dcn30_update_bw_bounding_box()
2120 dcn30_bb_max_clk.max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn30_update_bw_bounding_box()