Lines Matching refs:adjusted_mode
266 struct drm_display_mode *adjusted_mode = &pipe_config->base.adjusted_mode; in intel_dsi_compute_config() local
273 intel_fixed_panel_mode(fixed_mode, adjusted_mode); in intel_dsi_compute_config()
283 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_dsi_compute_config()
287 adjusted_mode->flags = 0; in intel_dsi_compute_config()
296 adjusted_mode->private_flags |= in intel_dsi_compute_config()
1034 struct drm_display_mode *adjusted_mode = in bxt_dsi_get_pipe_config() local
1035 &pipe_config->base.adjusted_mode; in bxt_dsi_get_pipe_config()
1048 adjusted_mode_sw = &crtc->config->base.adjusted_mode; in bxt_dsi_get_pipe_config()
1066 adjusted_mode->private_flags |= in bxt_dsi_get_pipe_config()
1070 adjusted_mode->crtc_hdisplay = in bxt_dsi_get_pipe_config()
1072 adjusted_mode->crtc_vdisplay = in bxt_dsi_get_pipe_config()
1074 adjusted_mode->crtc_vtotal = in bxt_dsi_get_pipe_config()
1077 hactive = adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1106 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config()
1107 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1108 adjusted_mode->crtc_hsync_end = hsync + adjusted_mode->crtc_hsync_start; in bxt_dsi_get_pipe_config()
1109 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1110 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config()
1112 adjusted_mode->crtc_vsync_start = vfp + adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config()
1113 adjusted_mode->crtc_vsync_end = vsync + adjusted_mode->crtc_vsync_start; in bxt_dsi_get_pipe_config()
1114 adjusted_mode->crtc_vblank_start = adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config()
1115 adjusted_mode->crtc_vblank_end = adjusted_mode->crtc_vtotal; in bxt_dsi_get_pipe_config()
1170 if (adjusted_mode->crtc_htotal == crtc_htotal_sw) in bxt_dsi_get_pipe_config()
1171 adjusted_mode->crtc_htotal = adjusted_mode_sw->crtc_htotal; in bxt_dsi_get_pipe_config()
1173 if (adjusted_mode->crtc_hsync_start == crtc_hsync_start_sw) in bxt_dsi_get_pipe_config()
1174 adjusted_mode->crtc_hsync_start = in bxt_dsi_get_pipe_config()
1177 if (adjusted_mode->crtc_hsync_end == crtc_hsync_end_sw) in bxt_dsi_get_pipe_config()
1178 adjusted_mode->crtc_hsync_end = in bxt_dsi_get_pipe_config()
1181 if (adjusted_mode->crtc_hblank_start == crtc_hblank_start_sw) in bxt_dsi_get_pipe_config()
1182 adjusted_mode->crtc_hblank_start = in bxt_dsi_get_pipe_config()
1185 if (adjusted_mode->crtc_hblank_end == crtc_hblank_end_sw) in bxt_dsi_get_pipe_config()
1186 adjusted_mode->crtc_hblank_end = in bxt_dsi_get_pipe_config()
1207 pipe_config->base.adjusted_mode.crtc_clock = pclk; in intel_dsi_get_config()
1227 const struct drm_display_mode *adjusted_mode) in set_dsi_timings() argument
1238 hactive = adjusted_mode->crtc_hdisplay; in set_dsi_timings()
1239 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings()
1240 hsync = adjusted_mode->crtc_hsync_end - adjusted_mode->crtc_hsync_start; in set_dsi_timings()
1241 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings()
1252 vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay; in set_dsi_timings()
1253 vsync = adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; in set_dsi_timings()
1254 vbp = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vsync_end; in set_dsi_timings()
1273 adjusted_mode->crtc_hdisplay); in set_dsi_timings()
1275 adjusted_mode->crtc_vdisplay); in set_dsi_timings()
1277 adjusted_mode->crtc_vtotal); in set_dsi_timings()
1320 const struct drm_display_mode *adjusted_mode = &pipe_config->base.adjusted_mode; in intel_dsi_prepare() local
1328 mode_hdisplay = adjusted_mode->crtc_hdisplay; in intel_dsi_prepare()
1369 adjusted_mode->crtc_vdisplay << VERTICAL_ADDRESS_SHIFT | in intel_dsi_prepare()
1373 set_dsi_timings(encoder, adjusted_mode); in intel_dsi_prepare()
1419 txbyteclkhs(adjusted_mode->crtc_htotal, bpp, in intel_dsi_prepare()
1424 txbyteclkhs(adjusted_mode->crtc_vtotal * in intel_dsi_prepare()
1425 adjusted_mode->crtc_htotal, in intel_dsi_prepare()