Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/
Ddce120_clk_mgr.c91 int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz; in dce12_update_clocks() local
95 patched_disp_clk = patched_disp_clk * 115 / 100; in dce12_update_clocks()
97 if (should_set_clock(safe_to_lower, patched_disp_clk, clk_mgr_base->clks.dispclk_khz)) { in dce12_update_clocks()
104 patched_disp_clk = dce_adjust_dp_ref_freq_for_ss( in dce12_update_clocks()
105 clk_mgr_dce, patched_disp_clk); in dce12_update_clocks()
106 clock_voltage_req.clocks_in_khz = patched_disp_clk; in dce12_update_clocks()
107 clk_mgr_base->clks.dispclk_khz = dce112_set_clock(clk_mgr_base, patched_disp_clk); in dce12_update_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/
Ddce60_clk_mgr.c126 int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz; in dce60_update_clocks() local
130 patched_disp_clk = patched_disp_clk * 115 / 100; in dce60_update_clocks()
140 if (should_set_clock(safe_to_lower, patched_disp_clk, clk_mgr_base->clks.dispclk_khz)) { in dce60_update_clocks()
141 patched_disp_clk = dce_set_clock(clk_mgr_base, patched_disp_clk); in dce60_update_clocks()
142 clk_mgr_base->clks.dispclk_khz = patched_disp_clk; in dce60_update_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c678 int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz; in dce_update_clocks() local
682 patched_disp_clk = patched_disp_clk * 115 / 100; in dce_update_clocks()
692 if (should_set_clock(safe_to_lower, patched_disp_clk, clk_mgr->clks.dispclk_khz)) { in dce_update_clocks()
693 patched_disp_clk = dce_set_clock(clk_mgr, patched_disp_clk); in dce_update_clocks()
694 clk_mgr->clks.dispclk_khz = patched_disp_clk; in dce_update_clocks()
705 int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz; in dce11_update_clocks() local
709 patched_disp_clk = patched_disp_clk * 115 / 100; in dce11_update_clocks()
719 if (should_set_clock(safe_to_lower, patched_disp_clk, clk_mgr->clks.dispclk_khz)) { in dce11_update_clocks()
720 context->bw_ctx.bw.dce.dispclk_khz = dce_set_clock(clk_mgr, patched_disp_clk); in dce11_update_clocks()
721 clk_mgr->clks.dispclk_khz = patched_disp_clk; in dce11_update_clocks()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
Ddce112_clk_mgr.c201 int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz; in dce112_update_clocks() local
205 patched_disp_clk = patched_disp_clk * 115 / 100; in dce112_update_clocks()
215 if (should_set_clock(safe_to_lower, patched_disp_clk, clk_mgr_base->clks.dispclk_khz)) { in dce112_update_clocks()
216 patched_disp_clk = dce112_set_clock(clk_mgr_base, patched_disp_clk); in dce112_update_clocks()
217 clk_mgr_base->clks.dispclk_khz = patched_disp_clk; in dce112_update_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c403 int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz; in dce_update_clocks() local
407 patched_disp_clk = patched_disp_clk * 115 / 100; in dce_update_clocks()
417 if (should_set_clock(safe_to_lower, patched_disp_clk, clk_mgr_base->clks.dispclk_khz)) { in dce_update_clocks()
418 patched_disp_clk = dce_set_clock(clk_mgr_base, patched_disp_clk); in dce_update_clocks()
419 clk_mgr_base->clks.dispclk_khz = patched_disp_clk; in dce_update_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c255 int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz; in dce11_update_clocks() local
259 patched_disp_clk = patched_disp_clk * 115 / 100; in dce11_update_clocks()
269 if (should_set_clock(safe_to_lower, patched_disp_clk, clk_mgr_base->clks.dispclk_khz)) { in dce11_update_clocks()
270 context->bw_ctx.bw.dce.dispclk_khz = dce_set_clock(clk_mgr_base, patched_disp_clk); in dce11_update_clocks()
271 clk_mgr_base->clks.dispclk_khz = patched_disp_clk; in dce11_update_clocks()