Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clk_mgr.c186 uint32_t max_pix_clk = 0; in get_max_pixel_clock_for_all_paths() local
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()
783 clock_voltage_req.clocks_in_khz = max_pix_clk; in dce12_update_clocks()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_validation.c316 uint32_t max_pix_clk = stream->link->dongle_max_pix_clk * 10; in link_validate_mode_timing() local
326 if (max_pix_clk != 0 && get_tmds_output_pixel_clock_100hz(timing) > max_pix_clk) in link_validate_mode_timing()