Lines Matching full:limits
144 struct link_config_limits *limits, in intel_dp_mst_find_vcpi_slots_for_bpp() argument
165 crtc_state->lane_count = limits->max_lane_count; in intel_dp_mst_find_vcpi_slots_for_bpp()
166 crtc_state->port_clock = limits->max_rate; in intel_dp_mst_find_vcpi_slots_for_bpp()
264 struct link_config_limits *limits) in intel_dp_mst_compute_link_config() argument
273 to_bpp_int(limits->link.max_bpp_x16), in intel_dp_mst_compute_link_config()
274 to_bpp_int(limits->link.min_bpp_x16), in intel_dp_mst_compute_link_config()
275 limits, in intel_dp_mst_compute_link_config()
287 struct link_config_limits *limits) in intel_dp_dsc_mst_compute_link_config() argument
305 max_bpp = min_t(u8, dsc_max_bpc * 3, limits->pipe.max_bpp); in intel_dp_dsc_mst_compute_link_config()
306 min_bpp = limits->pipe.min_bpp; in intel_dp_dsc_mst_compute_link_config()
337 to_bpp_int(limits->link.max_bpp_x16)); in intel_dp_dsc_mst_compute_link_config()
341 to_bpp_int_roundup(limits->link.min_bpp_x16)); in intel_dp_dsc_mst_compute_link_config()
353 min_compressed_bpp, limits, in intel_dp_dsc_mst_compute_link_config()
422 struct link_config_limits *limits, in adjust_limits_for_dsc_hblank_expansion_quirk() argument
427 int min_bpp_x16 = limits->link.min_bpp_x16; in adjust_limits_for_dsc_hblank_expansion_quirk()
446 if (limits->link.max_bpp_x16 < to_bpp_x16(24)) in adjust_limits_for_dsc_hblank_expansion_quirk()
449 limits->link.min_bpp_x16 = to_bpp_x16(24); in adjust_limits_for_dsc_hblank_expansion_quirk()
454 drm_WARN_ON(&i915->drm, limits->min_rate != limits->max_rate); in adjust_limits_for_dsc_hblank_expansion_quirk()
456 if (limits->max_rate < 540000) in adjust_limits_for_dsc_hblank_expansion_quirk()
458 else if (limits->max_rate < 810000) in adjust_limits_for_dsc_hblank_expansion_quirk()
461 if (limits->link.min_bpp_x16 >= min_bpp_x16) in adjust_limits_for_dsc_hblank_expansion_quirk()
470 if (limits->link.max_bpp_x16 < min_bpp_x16) in adjust_limits_for_dsc_hblank_expansion_quirk()
473 limits->link.min_bpp_x16 = min_bpp_x16; in adjust_limits_for_dsc_hblank_expansion_quirk()
483 struct link_config_limits *limits) in intel_dp_mst_compute_config_limits() argument
489 limits->min_rate = limits->max_rate = in intel_dp_mst_compute_config_limits()
492 limits->min_lane_count = limits->max_lane_count = in intel_dp_mst_compute_config_limits()
495 limits->pipe.min_bpp = intel_dp_min_bpp(crtc_state->output_format); in intel_dp_mst_compute_config_limits()
504 limits->pipe.max_bpp = min(crtc_state->pipe_bpp, 24); in intel_dp_mst_compute_config_limits()
506 intel_dp_adjust_compliance_config(intel_dp, crtc_state, limits); in intel_dp_mst_compute_config_limits()
511 limits)) in intel_dp_mst_compute_config_limits()
516 limits, in intel_dp_mst_compute_config_limits()
531 struct link_config_limits limits; in intel_dp_mst_compute_config() local
551 &limits); in intel_dp_mst_compute_config()
555 conn_state, &limits); in intel_dp_mst_compute_config()
577 &limits)) in intel_dp_mst_compute_config()
592 conn_state, &limits); in intel_dp_mst_compute_config()
597 conn_state, &limits, in intel_dp_mst_compute_config()
690 struct intel_link_bw_limits *limits) in intel_dp_mst_check_fec_change() argument
715 limits->force_fec_pipes |= mst_pipe_mask; in intel_dp_mst_check_fec_change()
726 struct intel_link_bw_limits *limits) in intel_dp_mst_check_bw() argument
738 ret = intel_link_bw_reduce_bpp(state, limits, in intel_dp_mst_check_bw()
747 * @limits: link BW limits
750 * configuration is invalid @limits will be updated if possible to
752 * @state must be recomputed with the updated @limits.
756 * - %-EAGAIN, if the configuration is invalid and @limits got updated
763 struct intel_link_bw_limits *limits) in intel_dp_mst_atomic_check_link() argument
771 ret = intel_dp_mst_check_fec_change(state, mgr, limits); in intel_dp_mst_atomic_check_link()
776 limits); in intel_dp_mst_atomic_check_link()