Lines Matching full:limits
370 struct link_config_limits *limits, in mst_stream_find_vcpi_slots_for_bpp() argument
381 crtc_state->lane_count = limits->max_lane_count; in mst_stream_find_vcpi_slots_for_bpp()
382 crtc_state->port_clock = limits->max_rate; in mst_stream_find_vcpi_slots_for_bpp()
395 struct link_config_limits *limits) in mst_stream_compute_link_config() argument
402 fxp_q4_to_int(limits->link.max_bpp_x16), in mst_stream_compute_link_config()
403 fxp_q4_to_int(limits->link.min_bpp_x16), in mst_stream_compute_link_config()
404 limits, in mst_stream_compute_link_config()
411 struct link_config_limits *limits) in mst_stream_dsc_compute_link_config() argument
420 max_bpp = limits->pipe.max_bpp; in mst_stream_dsc_compute_link_config()
421 min_bpp = limits->pipe.min_bpp; in mst_stream_dsc_compute_link_config()
450 max_compressed_bpp = fxp_q4_to_int(limits->link.max_bpp_x16); in mst_stream_dsc_compute_link_config()
451 min_compressed_bpp = fxp_q4_to_int_roundup(limits->link.min_bpp_x16); in mst_stream_dsc_compute_link_config()
463 min_compressed_bpp, limits, in mst_stream_dsc_compute_link_config()
498 const struct link_config_limits *limits) in hblank_expansion_quirk_needs_dsc() argument
509 if (is_uhbr_sink && !drm_dp_is_uhbr_rate(limits->max_rate)) in hblank_expansion_quirk_needs_dsc()
525 struct link_config_limits *limits, in adjust_limits_for_dsc_hblank_expansion_quirk() argument
530 int min_bpp_x16 = limits->link.min_bpp_x16; in adjust_limits_for_dsc_hblank_expansion_quirk()
532 if (!hblank_expansion_quirk_needs_dsc(connector, crtc_state, limits)) in adjust_limits_for_dsc_hblank_expansion_quirk()
549 if (limits->link.max_bpp_x16 < fxp_q4_from_int(24)) in adjust_limits_for_dsc_hblank_expansion_quirk()
552 limits->link.min_bpp_x16 = fxp_q4_from_int(24); in adjust_limits_for_dsc_hblank_expansion_quirk()
557 drm_WARN_ON(display->drm, limits->min_rate != limits->max_rate); in adjust_limits_for_dsc_hblank_expansion_quirk()
559 if (limits->max_rate < 540000) in adjust_limits_for_dsc_hblank_expansion_quirk()
561 else if (limits->max_rate < 810000) in adjust_limits_for_dsc_hblank_expansion_quirk()
564 if (limits->link.min_bpp_x16 >= min_bpp_x16) in adjust_limits_for_dsc_hblank_expansion_quirk()
573 if (limits->link.max_bpp_x16 < min_bpp_x16) in adjust_limits_for_dsc_hblank_expansion_quirk()
576 limits->link.min_bpp_x16 = min_bpp_x16; in adjust_limits_for_dsc_hblank_expansion_quirk()
586 struct link_config_limits *limits) in mst_stream_compute_config_limits() argument
589 limits)) in mst_stream_compute_config_limits()
595 limits, in mst_stream_compute_config_limits()
611 struct link_config_limits limits; in mst_stream_compute_config() local
637 pipe_config, false, &limits); in mst_stream_compute_config()
641 conn_state, &limits); in mst_stream_compute_config()
664 &limits)) in mst_stream_compute_config()
680 conn_state, &limits); in mst_stream_compute_config()
685 conn_state, &limits, in mst_stream_compute_config()
779 struct intel_link_bw_limits *limits) in intel_dp_mst_check_fec_change() argument
804 limits->force_fec_pipes |= mst_pipe_mask; in intel_dp_mst_check_fec_change()
815 struct intel_link_bw_limits *limits) in intel_dp_mst_check_bw() argument
827 ret = intel_link_bw_reduce_bpp(state, limits, in intel_dp_mst_check_bw()
836 * @limits: link BW limits
839 * configuration is invalid @limits will be updated if possible to
841 * @state must be recomputed with the updated @limits.
845 * - %-EAGAIN, if the configuration is invalid and @limits got updated
852 struct intel_link_bw_limits *limits) in intel_dp_mst_atomic_check_link() argument
860 ret = intel_dp_mst_check_fec_change(state, mgr, limits); in intel_dp_mst_atomic_check_link()
865 limits); in intel_dp_mst_atomic_check_link()