Home
last modified time | relevance | path

Searched refs:bpp_step_x16 (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_mst.h39 int min_bpp_x16, int max_bpp_x16, int bpp_step_x16, bool dsc);
H A Dintel_dp_mst.c252 int min_bpp_x16, int max_bpp_x16, int bpp_step_x16, bool dsc) in intel_dp_mtp_tu_compute_config() argument
269 fxp_q4_to_frac(bpp_step_x16))); in intel_dp_mtp_tu_compute_config()
271 if (!bpp_step_x16) { in intel_dp_mtp_tu_compute_config()
274 bpp_step_x16 = 1; in intel_dp_mtp_tu_compute_config()
324 drm_WARN_ON(display->drm, min_bpp_x16 % bpp_step_x16 || max_bpp_x16 % bpp_step_x16); in intel_dp_mtp_tu_compute_config()
326 for (bpp_x16 = max_bpp_x16; bpp_x16 >= min_bpp_x16; bpp_x16 -= bpp_step_x16) { in intel_dp_mtp_tu_compute_config()
H A Dintel_dp.c2178 int bpp_step_x16 = intel_dp_dsc_bpp_step_x16(connector); in align_min_compressed_bpp_x16() local
2180 drm_WARN_ON(display->drm, !is_power_of_2(bpp_step_x16)); in align_min_compressed_bpp_x16()
2182 return round_up(min_bpp_x16, bpp_step_x16); in align_min_compressed_bpp_x16()
2194 int bpp_step_x16 = intel_dp_dsc_bpp_step_x16(connector); in align_max_compressed_bpp_x16() local
2196 max_bpp_x16 = min(max_bpp_x16, link_bpp_x16 - bpp_step_x16); in align_max_compressed_bpp_x16()
2199 drm_WARN_ON(display->drm, !is_power_of_2(bpp_step_x16)); in align_max_compressed_bpp_x16()
2201 return round_down(max_bpp_x16, bpp_step_x16); in align_max_compressed_bpp_x16()
2219 int min_bpp_x16, max_bpp_x16, bpp_step_x16; in dsc_compute_compressed_bpp() local
2225 bpp_step_x16 = intel_dp_dsc_bpp_step_x16(connector); in dsc_compute_compressed_bpp()
2249 for (bpp_x16 = max_bpp_x16; bpp_x16 >= min_bpp_x16; bpp_x16 -= bpp_step_x16) { in dsc_compute_compressed_bpp()