Lines Matching full:hactive
304 u16 hactive = adjusted_mode->crtc_hdisplay; in configure_dual_link_mode() local
308 dl_buffer_depth = hactive / 2 + intel_dsi->pixel_overlap; in configure_dual_link_mode()
852 u16 htotal, hactive, hsync_start, hsync_end, hsync_size; in gen11_dsi_set_transcoder_timings() local
871 hactive = adjusted_mode->crtc_hdisplay; in gen11_dsi_set_transcoder_timings()
876 htotal = DIV_ROUND_UP((hactive + 160) * mul, div); in gen11_dsi_set_transcoder_timings()
904 hactive /= 2; in gen11_dsi_set_transcoder_timings()
906 hactive += intel_dsi->pixel_overlap; in gen11_dsi_set_transcoder_timings()
910 /* minimum hactive as per bspec: 256 pixels */ in gen11_dsi_set_transcoder_timings()
912 drm_err(&dev_priv->drm, "hactive is less then 256 pixels\n"); in gen11_dsi_set_transcoder_timings()
914 /* if RGB666 format, then hactive must be multiple of 4 pixels */ in gen11_dsi_set_transcoder_timings()
915 if (intel_dsi->pixel_format == MIPI_DSI_FMT_RGB666 && hactive % 4 != 0) in gen11_dsi_set_transcoder_timings()
917 "hactive pixels are not multiple of 4\n"); in gen11_dsi_set_transcoder_timings()
923 HACTIVE(hactive - 1) | HTOTAL(htotal - 1)); in gen11_dsi_set_transcoder_timings()