Home
last modified time | relevance | path

Searched refs:max_bpp_x16 (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/i915/display/
H A Dintel_link_bw.c69 limits->max_bpp_x16[pipe] = crtc_state->max_link_bpp_x16; in intel_link_bw_init_limits()
73 limits->max_bpp_x16[pipe] = INT_MAX; in intel_link_bw_init_limits()
77 limits->max_bpp_x16[pipe] = min(limits->max_bpp_x16[pipe], forced_bpp_x16); in intel_link_bw_init_limits()
110 int max_bpp_x16 = 0; in __intel_link_bw_reduce_bpp() local
139 if (link_bpp_x16 > max_bpp_x16) { in __intel_link_bw_reduce_bpp()
140 max_bpp_x16 = link_bpp_x16; in __intel_link_bw_reduce_bpp()
148 limits->max_bpp_x16[max_bpp_pipe] = max_bpp_x16 - 1; in __intel_link_bw_reduce_bpp()
226 if (new_limits->max_bpp_x16[pipe] == in intel_link_bw_set_bpp_limit_for_pipe()
227 old_limits->max_bpp_x16[pipe]) in intel_link_bw_set_bpp_limit_for_pipe()
234 new_limits->max_bpp_x16[pipe] = in intel_link_bw_set_bpp_limit_for_pipe()
[all …]
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
268 fxp_q4_to_frac(max_bpp_x16) || in intel_dp_mtp_tu_compute_config()
273 drm_WARN_ON(display->drm, min_bpp_x16 != max_bpp_x16); in intel_dp_mtp_tu_compute_config()
306 if (max_dpt_bpp_x16 && max_bpp_x16 > max_dpt_bpp_x16) { in intel_dp_mtp_tu_compute_config()
308 FXP_Q4_ARGS(max_bpp_x16), FXP_Q4_ARGS(max_dpt_bpp_x16)); in intel_dp_mtp_tu_compute_config()
309 max_bpp_x16 = max_dpt_bpp_x16; in intel_dp_mtp_tu_compute_config()
313 FXP_Q4_ARGS(min_bpp_x16), FXP_Q4_ARGS(max_bpp_x16)); 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()
469 limits->link.max_bpp_x16, in mst_stream_compute_link_config()
[all …]
H A Dintel_dp_mst.h39 int min_bpp_x16, int max_bpp_x16, int bpp_step_x16, bool dsc);
H A Dintel_dp.c1721 for (bpp = fxp_q4_to_int(limits->link.max_bpp_x16); in intel_dp_compute_link_config_wide()
2190 int pipe_bpp, int max_bpp_x16) in align_max_compressed_bpp_x16() argument
2196 max_bpp_x16 = min(max_bpp_x16, link_bpp_x16 - 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()
2203 return align_max_vesa_compressed_bpp_x16(max_bpp_x16); in align_max_compressed_bpp_x16()
2219 int min_bpp_x16, max_bpp_x16, bpp_step_x16; in dsc_compute_compressed_bpp() local
2224 max_bpp_x16 = limits->link.max_bpp_x16; in dsc_compute_compressed_bpp()
2227 max_bpp_x16 = align_max_compressed_bpp_x16(connector, pipe_config->output_format, in dsc_compute_compressed_bpp()
2228 pipe_bpp, max_bpp_x16); in dsc_compute_compressed_bpp()
2244 pipe_config->dsc.compressed_bpp_x16 = max_bpp_x16; in dsc_compute_compressed_bpp()
[all …]