Lines Matching refs:adjusted_mode
274 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dsi_compute_config() local
281 ret = intel_panel_compute_config(intel_connector, adjusted_mode); in intel_dsi_compute_config()
289 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_dsi_compute_config()
293 adjusted_mode->flags = 0; in intel_dsi_compute_config()
1018 struct drm_display_mode *adjusted_mode = in bxt_dsi_get_pipe_config() local
1019 &pipe_config->hw.adjusted_mode; in bxt_dsi_get_pipe_config()
1032 adjusted_mode_sw = &crtc->config->hw.adjusted_mode; in bxt_dsi_get_pipe_config()
1054 adjusted_mode->crtc_hdisplay = in bxt_dsi_get_pipe_config()
1057 adjusted_mode->crtc_vdisplay = in bxt_dsi_get_pipe_config()
1060 adjusted_mode->crtc_vtotal = in bxt_dsi_get_pipe_config()
1064 hactive = adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1092 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config()
1093 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1094 adjusted_mode->crtc_hsync_end = hsync + adjusted_mode->crtc_hsync_start; in bxt_dsi_get_pipe_config()
1095 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1096 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config()
1098 adjusted_mode->crtc_vsync_start = vfp + adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config()
1099 adjusted_mode->crtc_vsync_end = vsync + adjusted_mode->crtc_vsync_start; in bxt_dsi_get_pipe_config()
1100 adjusted_mode->crtc_vblank_start = adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config()
1101 adjusted_mode->crtc_vblank_end = adjusted_mode->crtc_vtotal; in bxt_dsi_get_pipe_config()
1156 if (adjusted_mode->crtc_htotal == crtc_htotal_sw) in bxt_dsi_get_pipe_config()
1157 adjusted_mode->crtc_htotal = adjusted_mode_sw->crtc_htotal; in bxt_dsi_get_pipe_config()
1159 if (adjusted_mode->crtc_hsync_start == crtc_hsync_start_sw) in bxt_dsi_get_pipe_config()
1160 adjusted_mode->crtc_hsync_start = in bxt_dsi_get_pipe_config()
1163 if (adjusted_mode->crtc_hsync_end == crtc_hsync_end_sw) in bxt_dsi_get_pipe_config()
1164 adjusted_mode->crtc_hsync_end = in bxt_dsi_get_pipe_config()
1167 if (adjusted_mode->crtc_hblank_start == crtc_hblank_start_sw) in bxt_dsi_get_pipe_config()
1168 adjusted_mode->crtc_hblank_start = in bxt_dsi_get_pipe_config()
1171 if (adjusted_mode->crtc_hblank_end == crtc_hblank_end_sw) in bxt_dsi_get_pipe_config()
1172 adjusted_mode->crtc_hblank_end = in bxt_dsi_get_pipe_config()
1197 pipe_config->hw.adjusted_mode.crtc_clock = pclk; in intel_dsi_get_config()
1199 pipe_config->hw.adjusted_mode.crtc_clock *= 2; in intel_dsi_get_config()
1217 const struct drm_display_mode *adjusted_mode) in set_dsi_timings() argument
1228 hactive = adjusted_mode->crtc_hdisplay; in set_dsi_timings()
1229 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings()
1230 hsync = adjusted_mode->crtc_hsync_end - adjusted_mode->crtc_hsync_start; in set_dsi_timings()
1231 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings()
1242 vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay; in set_dsi_timings()
1243 vsync = adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; in set_dsi_timings()
1244 vbp = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vsync_end; in set_dsi_timings()
1263 adjusted_mode->crtc_hdisplay); in set_dsi_timings()
1265 adjusted_mode->crtc_vdisplay); in set_dsi_timings()
1267 adjusted_mode->crtc_vtotal); in set_dsi_timings()
1312 const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dsi_prepare() local
1320 mode_hdisplay = adjusted_mode->crtc_hdisplay; in intel_dsi_prepare()
1359 …adjusted_mode->crtc_vdisplay << VERTICAL_ADDRESS_SHIFT | mode_hdisplay << HORIZONTAL_ADDRESS_SHIFT… in intel_dsi_prepare()
1362 set_dsi_timings(encoder, adjusted_mode); in intel_dsi_prepare()
1408 …txbyteclkhs(adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, intel_dsi->burst_mode_ratio) +… in intel_dsi_prepare()
1411 …txbyteclkhs(adjusted_mode->crtc_vtotal * adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, i… in intel_dsi_prepare()