Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/
Ddce120_clk_mgr.c90 int max_pix_clk = dce_get_max_pixel_clock_for_all_paths(context); in dce12_update_clocks() local
112 if (should_set_clock(safe_to_lower, max_pix_clk, clk_mgr_base->clks.phyclk_khz)) { in dce12_update_clocks()
114 clock_voltage_req.clocks_in_khz = max_pix_clk; in dce12_update_clocks()
115 clk_mgr_base->clks.phyclk_khz = max_pix_clk; in dce12_update_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c167 uint32_t max_pix_clk = 0; in dce_get_max_pixel_clock_for_all_paths() local
180 if (pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10 > max_pix_clk) in dce_get_max_pixel_clock_for_all_paths()
181 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10; in dce_get_max_pixel_clock_for_all_paths()
187 pipe_ctx->stream_res.pix_clk_params.requested_sym_clk > max_pix_clk) in dce_get_max_pixel_clock_for_all_paths()
188 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_sym_clk; in dce_get_max_pixel_clock_for_all_paths()
191 return max_pix_clk; in dce_get_max_pixel_clock_for_all_paths()
201 int max_pix_clk = dce_get_max_pixel_clock_for_all_paths(context); in dce_get_required_clocks_state() local
210 || max_pix_clk > in dce_get_required_clocks_state()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c186 uint32_t max_pix_clk = 0; in get_max_pixel_clock_for_all_paths() local
199 if (pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10 > max_pix_clk) in get_max_pixel_clock_for_all_paths()
200 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_pix_clk_100hz / 10; in get_max_pixel_clock_for_all_paths()
206 pipe_ctx->stream_res.pix_clk_params.requested_sym_clk > max_pix_clk) in get_max_pixel_clock_for_all_paths()
207 max_pix_clk = pipe_ctx->stream_res.pix_clk_params.requested_sym_clk; in get_max_pixel_clock_for_all_paths()
210 return max_pix_clk; in get_max_pixel_clock_for_all_paths()
220 int max_pix_clk = get_max_pixel_clock_for_all_paths(context); in dce_get_required_clocks_state() local
229 || max_pix_clk > in dce_get_required_clocks_state()
759 int max_pix_clk = get_max_pixel_clock_for_all_paths(context); in dce12_update_clocks() local
781 if (should_set_clock(safe_to_lower, max_pix_clk, clk_mgr->clks.phyclk_khz)) { in dce12_update_clocks()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c3001 uint32_t max_pix_clk = stream->link->dongle_max_pix_clk * 10; in dc_link_validate_mode_timing() local
3011 if (max_pix_clk != 0 && get_timing_pixel_clock_100hz(timing) > max_pix_clk) in dc_link_validate_mode_timing()