Lines Matching full:limits
167 struct link_config_limits *limits, in intel_dp_mst_find_vcpi_slots_for_bpp() argument
190 crtc_state->lane_count = limits->max_lane_count; in intel_dp_mst_find_vcpi_slots_for_bpp()
191 crtc_state->port_clock = limits->max_rate; in intel_dp_mst_find_vcpi_slots_for_bpp()
320 struct link_config_limits *limits) in intel_dp_mst_compute_link_config() argument
329 fxp_q4_to_int(limits->link.max_bpp_x16), in intel_dp_mst_compute_link_config()
330 fxp_q4_to_int(limits->link.min_bpp_x16), in intel_dp_mst_compute_link_config()
331 limits, in intel_dp_mst_compute_link_config()
343 struct link_config_limits *limits) in intel_dp_dsc_mst_compute_link_config() argument
361 max_bpp = min_t(u8, dsc_max_bpc * 3, limits->pipe.max_bpp); in intel_dp_dsc_mst_compute_link_config()
362 min_bpp = limits->pipe.min_bpp; in intel_dp_dsc_mst_compute_link_config()
395 fxp_q4_to_int(limits->link.max_bpp_x16)); in intel_dp_dsc_mst_compute_link_config()
399 fxp_q4_to_int_roundup(limits->link.min_bpp_x16)); in intel_dp_dsc_mst_compute_link_config()
411 min_compressed_bpp, limits, in intel_dp_dsc_mst_compute_link_config()
452 const struct link_config_limits *limits) in hblank_expansion_quirk_needs_dsc() argument
463 if (is_uhbr_sink && !drm_dp_is_uhbr_rate(limits->max_rate)) in hblank_expansion_quirk_needs_dsc()
478 struct link_config_limits *limits, in adjust_limits_for_dsc_hblank_expansion_quirk() argument
483 int min_bpp_x16 = limits->link.min_bpp_x16; in adjust_limits_for_dsc_hblank_expansion_quirk()
485 if (!hblank_expansion_quirk_needs_dsc(connector, crtc_state, limits)) in adjust_limits_for_dsc_hblank_expansion_quirk()
502 if (limits->link.max_bpp_x16 < fxp_q4_from_int(24)) in adjust_limits_for_dsc_hblank_expansion_quirk()
505 limits->link.min_bpp_x16 = fxp_q4_from_int(24); in adjust_limits_for_dsc_hblank_expansion_quirk()
510 drm_WARN_ON(&i915->drm, limits->min_rate != limits->max_rate); in adjust_limits_for_dsc_hblank_expansion_quirk()
512 if (limits->max_rate < 540000) in adjust_limits_for_dsc_hblank_expansion_quirk()
514 else if (limits->max_rate < 810000) in adjust_limits_for_dsc_hblank_expansion_quirk()
517 if (limits->link.min_bpp_x16 >= min_bpp_x16) in adjust_limits_for_dsc_hblank_expansion_quirk()
526 if (limits->link.max_bpp_x16 < min_bpp_x16) in adjust_limits_for_dsc_hblank_expansion_quirk()
529 limits->link.min_bpp_x16 = min_bpp_x16; in adjust_limits_for_dsc_hblank_expansion_quirk()
539 struct link_config_limits *limits) in intel_dp_mst_compute_config_limits() argument
545 limits->min_rate = limits->max_rate = in intel_dp_mst_compute_config_limits()
548 limits->min_lane_count = limits->max_lane_count = in intel_dp_mst_compute_config_limits()
551 limits->pipe.min_bpp = intel_dp_min_bpp(crtc_state->output_format); in intel_dp_mst_compute_config_limits()
560 limits->pipe.max_bpp = min(crtc_state->pipe_bpp, 24); in intel_dp_mst_compute_config_limits()
562 intel_dp_adjust_compliance_config(intel_dp, crtc_state, limits); in intel_dp_mst_compute_config_limits()
567 limits)) in intel_dp_mst_compute_config_limits()
572 limits, in intel_dp_mst_compute_config_limits()
589 struct link_config_limits limits; in intel_dp_mst_compute_config() local
616 &limits); in intel_dp_mst_compute_config()
620 conn_state, &limits); in intel_dp_mst_compute_config()
642 &limits)) in intel_dp_mst_compute_config()
657 conn_state, &limits); in intel_dp_mst_compute_config()
662 conn_state, &limits, in intel_dp_mst_compute_config()
756 struct intel_link_bw_limits *limits) in intel_dp_mst_check_fec_change() argument
781 limits->force_fec_pipes |= mst_pipe_mask; in intel_dp_mst_check_fec_change()
792 struct intel_link_bw_limits *limits) in intel_dp_mst_check_bw() argument
804 ret = intel_link_bw_reduce_bpp(state, limits, in intel_dp_mst_check_bw()
813 * @limits: link BW limits
816 * configuration is invalid @limits will be updated if possible to
818 * @state must be recomputed with the updated @limits.
822 * - %-EAGAIN, if the configuration is invalid and @limits got updated
829 struct intel_link_bw_limits *limits) in intel_dp_mst_atomic_check_link() argument
837 ret = intel_dp_mst_check_fec_change(state, mgr, limits); in intel_dp_mst_atomic_check_link()
842 limits); in intel_dp_mst_atomic_check_link()