Lines Matching refs:limits

444 					  const struct link_config_limits *limits)  in mst_stream_compute_link_config()  argument
446 crtc_state->lane_count = limits->max_lane_count; in mst_stream_compute_link_config()
447 crtc_state->port_clock = limits->max_rate; in mst_stream_compute_link_config()
454 limits->link.min_bpp_x16, in mst_stream_compute_link_config()
455 limits->link.max_bpp_x16, in mst_stream_compute_link_config()
462 const struct link_config_limits *limits) in mst_stream_dsc_compute_link_config() argument
472 max_bpp = limits->pipe.max_bpp; in mst_stream_dsc_compute_link_config()
473 min_bpp = limits->pipe.min_bpp; in mst_stream_dsc_compute_link_config()
495 min_compressed_bpp_x16 = limits->link.min_bpp_x16; in mst_stream_dsc_compute_link_config()
496 max_compressed_bpp_x16 = limits->link.max_bpp_x16; in mst_stream_dsc_compute_link_config()
510 crtc_state->lane_count = limits->max_lane_count; in mst_stream_dsc_compute_link_config()
511 crtc_state->port_clock = limits->max_rate; in mst_stream_dsc_compute_link_config()
529 const struct link_config_limits *limits) in hblank_expansion_quirk_needs_dsc() argument
540 if (is_uhbr_sink && !drm_dp_is_uhbr_rate(limits->max_rate)) in hblank_expansion_quirk_needs_dsc()
556 struct link_config_limits *limits, in adjust_limits_for_dsc_hblank_expansion_quirk() argument
561 int min_bpp_x16 = limits->link.min_bpp_x16; in adjust_limits_for_dsc_hblank_expansion_quirk()
563 if (!hblank_expansion_quirk_needs_dsc(connector, crtc_state, limits)) in adjust_limits_for_dsc_hblank_expansion_quirk()
580 if (limits->link.max_bpp_x16 < fxp_q4_from_int(24)) in adjust_limits_for_dsc_hblank_expansion_quirk()
583 limits->link.min_bpp_x16 = fxp_q4_from_int(24); in adjust_limits_for_dsc_hblank_expansion_quirk()
588 drm_WARN_ON(display->drm, limits->min_rate != limits->max_rate); in adjust_limits_for_dsc_hblank_expansion_quirk()
590 if (limits->max_rate < 540000) in adjust_limits_for_dsc_hblank_expansion_quirk()
592 else if (limits->max_rate < 810000) in adjust_limits_for_dsc_hblank_expansion_quirk()
595 if (limits->link.min_bpp_x16 >= min_bpp_x16) in adjust_limits_for_dsc_hblank_expansion_quirk()
604 if (limits->link.max_bpp_x16 < min_bpp_x16) in adjust_limits_for_dsc_hblank_expansion_quirk()
607 limits->link.min_bpp_x16 = min_bpp_x16; in adjust_limits_for_dsc_hblank_expansion_quirk()
617 struct link_config_limits *limits) in mst_stream_compute_config_limits() argument
621 limits)) in mst_stream_compute_config_limits()
627 limits, in mst_stream_compute_config_limits()
643 struct link_config_limits limits; in mst_stream_compute_config() local
669 pipe_config, false, &limits); in mst_stream_compute_config()
673 conn_state, &limits); in mst_stream_compute_config()
696 &limits)) in mst_stream_compute_config()
712 conn_state, &limits); in mst_stream_compute_config()
717 conn_state, &limits, in mst_stream_compute_config()
813 struct intel_link_bw_limits *limits) in intel_dp_mst_check_fec_change() argument
838 limits->force_fec_pipes |= mst_pipe_mask; in intel_dp_mst_check_fec_change()
849 struct intel_link_bw_limits *limits) in intel_dp_mst_check_bw() argument
861 ret = intel_link_bw_reduce_bpp(state, limits, in intel_dp_mst_check_bw()
886 struct intel_link_bw_limits *limits) in intel_dp_mst_atomic_check_link() argument
894 ret = intel_dp_mst_check_fec_change(state, mgr, limits); in intel_dp_mst_atomic_check_link()
899 limits); in intel_dp_mst_atomic_check_link()