Lines Matching full:hactive
290 u16 hactive = adjusted_mode->crtc_hdisplay; in configure_dual_link_mode() local
294 dl_buffer_depth = hactive / 2 + intel_dsi->pixel_overlap; in configure_dual_link_mode()
835 u16 htotal, hactive, hsync_start, hsync_end, hsync_size; in gen11_dsi_set_transcoder_timings() local
854 hactive = adjusted_mode->crtc_hdisplay; in gen11_dsi_set_transcoder_timings()
859 htotal = DIV_ROUND_UP((hactive + 160) * mul, div); in gen11_dsi_set_transcoder_timings()
887 hactive /= 2; in gen11_dsi_set_transcoder_timings()
889 hactive += intel_dsi->pixel_overlap; in gen11_dsi_set_transcoder_timings()
893 /* minimum hactive as per bspec: 256 pixels */ in gen11_dsi_set_transcoder_timings()
895 drm_err(&dev_priv->drm, "hactive is less then 256 pixels\n"); in gen11_dsi_set_transcoder_timings()
897 /* if RGB666 format, then hactive must be multiple of 4 pixels */ in gen11_dsi_set_transcoder_timings()
898 if (intel_dsi->pixel_format == MIPI_DSI_FMT_RGB666 && hactive % 4 != 0) in gen11_dsi_set_transcoder_timings()
900 "hactive pixels are not multiple of 4\n"); in gen11_dsi_set_transcoder_timings()
906 (hactive - 1) | ((htotal - 1) << 16)); in gen11_dsi_set_transcoder_timings()