Lines Matching refs:adjusted_mode
301 const struct drm_display_mode *adjusted_mode = in configure_dual_link_mode() local
302 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode()
303 u16 hactive = adjusted_mode->crtc_hdisplay; in configure_dual_link_mode()
843 const struct drm_display_mode *adjusted_mode = in gen11_dsi_set_transcoder_timings() local
844 &crtc_state->hw.adjusted_mode; in gen11_dsi_set_transcoder_timings()
867 hactive = adjusted_mode->crtc_hdisplay; in gen11_dsi_set_transcoder_timings()
870 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings()
874 hsync_start = DIV_ROUND_UP(adjusted_mode->crtc_hsync_start * mul, div); in gen11_dsi_set_transcoder_timings()
875 hsync_end = DIV_ROUND_UP(adjusted_mode->crtc_hsync_end * mul, div); in gen11_dsi_set_transcoder_timings()
877 hback_porch = (adjusted_mode->crtc_htotal - in gen11_dsi_set_transcoder_timings()
878 adjusted_mode->crtc_hsync_end); in gen11_dsi_set_transcoder_timings()
879 vactive = adjusted_mode->crtc_vdisplay; in gen11_dsi_set_transcoder_timings()
882 vtotal = adjusted_mode->crtc_vtotal; in gen11_dsi_set_transcoder_timings()
895 vsync_start = adjusted_mode->crtc_vsync_start; in gen11_dsi_set_transcoder_timings()
896 vsync_end = adjusted_mode->crtc_vsync_end; in gen11_dsi_set_transcoder_timings()
907 if (adjusted_mode->crtc_hdisplay < 256) in gen11_dsi_set_transcoder_timings()
1451 struct drm_display_mode *adjusted_mode = in gen11_dsi_get_timings() local
1452 &pipe_config->hw.adjusted_mode; in gen11_dsi_get_timings()
1458 adjusted_mode->crtc_htotal = in gen11_dsi_get_timings()
1459 DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_get_timings()
1460 adjusted_mode->crtc_hsync_start = in gen11_dsi_get_timings()
1461 DIV_ROUND_UP(adjusted_mode->crtc_hsync_start * mul, div); in gen11_dsi_get_timings()
1462 adjusted_mode->crtc_hsync_end = in gen11_dsi_get_timings()
1463 DIV_ROUND_UP(adjusted_mode->crtc_hsync_end * mul, div); in gen11_dsi_get_timings()
1467 adjusted_mode->crtc_hdisplay *= 2; in gen11_dsi_get_timings()
1469 adjusted_mode->crtc_hdisplay -= in gen11_dsi_get_timings()
1471 adjusted_mode->crtc_htotal *= 2; in gen11_dsi_get_timings()
1473 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay; in gen11_dsi_get_timings()
1474 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings()
1478 adjusted_mode->crtc_hsync_start *= 2; in gen11_dsi_get_timings()
1479 adjusted_mode->crtc_hsync_end *= 2; in gen11_dsi_get_timings()
1482 adjusted_mode->crtc_vblank_start = adjusted_mode->crtc_vdisplay; in gen11_dsi_get_timings()
1483 adjusted_mode->crtc_vblank_end = adjusted_mode->crtc_vtotal; in gen11_dsi_get_timings()
1522 pipe_config->hw.adjusted_mode.crtc_clock = intel_dsi->pclk; in gen11_dsi_get_config()
1524 pipe_config->hw.adjusted_mode.crtc_clock *= 2; in gen11_dsi_get_config()
1583 vdsc_cfg->pic_height = crtc_state->hw.adjusted_mode.crtc_vdisplay; in gen11_dsi_dsc_compute_config()
1615 struct drm_display_mode *adjusted_mode = in gen11_dsi_compute_config() local
1616 &pipe_config->hw.adjusted_mode; in gen11_dsi_compute_config()
1622 ret = intel_panel_compute_config(intel_connector, adjusted_mode); in gen11_dsi_compute_config()
1630 adjusted_mode->flags = 0; in gen11_dsi_compute_config()