Lines Matching refs:adjusted_mode
1091 struct drm_display_mode *adjusted_mode = in intel_tv_get_config() local
1092 &pipe_config->hw.adjusted_mode; in intel_tv_get_config()
1096 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_get_config()
1097 int vdisplay = adjusted_mode->crtc_vdisplay; in intel_tv_get_config()
1159 adjusted_mode->crtc_clock = mode.clock; in intel_tv_get_config()
1160 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in intel_tv_get_config()
1161 adjusted_mode->crtc_clock /= 2; in intel_tv_get_config()
1197 struct drm_display_mode *adjusted_mode = in intel_tv_compute_config() local
1198 &pipe_config->hw.adjusted_mode; in intel_tv_compute_config()
1199 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_compute_config()
1200 int vdisplay = adjusted_mode->crtc_vdisplay; in intel_tv_compute_config()
1206 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_tv_compute_config()
1222 intel_tv_mode_to_mode(adjusted_mode, tv_mode, pipe_config->port_clock); in intel_tv_compute_config()
1223 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_tv_compute_config()
1226 !intel_tv_vert_scaling(adjusted_mode, conn_state, vdisplay)) { in intel_tv_compute_config()
1229 extra = adjusted_mode->crtc_vdisplay - vdisplay; in intel_tv_compute_config()
1255 adjusted_mode->clock /= 2; in intel_tv_compute_config()
1256 adjusted_mode->crtc_clock /= 2; in intel_tv_compute_config()
1257 adjusted_mode->flags |= DRM_MODE_FLAG_INTERLACE; in intel_tv_compute_config()
1267 DRM_MODE_ARG(adjusted_mode)); in intel_tv_compute_config()
1334 intel_tv_scale_mode_horiz(adjusted_mode, hdisplay, in intel_tv_compute_config()
1337 intel_tv_scale_mode_vert(adjusted_mode, vdisplay, in intel_tv_compute_config()
1340 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_tv_compute_config()
1341 adjusted_mode->name[0] = '\0'; in intel_tv_compute_config()