Lines Matching refs:adjusted_mode
1088 struct drm_display_mode *adjusted_mode = in intel_tv_get_config() local
1089 &pipe_config->hw.adjusted_mode; in intel_tv_get_config()
1093 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_get_config()
1094 int vdisplay = adjusted_mode->crtc_vdisplay; in intel_tv_get_config()
1156 adjusted_mode->crtc_clock = mode.clock; in intel_tv_get_config()
1157 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in intel_tv_get_config()
1158 adjusted_mode->crtc_clock /= 2; in intel_tv_get_config()
1191 struct drm_display_mode *adjusted_mode = in intel_tv_compute_config() local
1192 &pipe_config->hw.adjusted_mode; in intel_tv_compute_config()
1193 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_compute_config()
1194 int vdisplay = adjusted_mode->crtc_vdisplay; in intel_tv_compute_config()
1199 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_tv_compute_config()
1209 intel_tv_mode_to_mode(adjusted_mode, tv_mode); in intel_tv_compute_config()
1210 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_tv_compute_config()
1213 !intel_tv_vert_scaling(adjusted_mode, conn_state, vdisplay)) { in intel_tv_compute_config()
1216 extra = adjusted_mode->crtc_vdisplay - vdisplay; in intel_tv_compute_config()
1242 adjusted_mode->clock /= 2; in intel_tv_compute_config()
1243 adjusted_mode->crtc_clock /= 2; in intel_tv_compute_config()
1244 adjusted_mode->flags |= DRM_MODE_FLAG_INTERLACE; in intel_tv_compute_config()
1254 drm_mode_debug_printmodeline(adjusted_mode); in intel_tv_compute_config()
1321 intel_tv_scale_mode_horiz(adjusted_mode, hdisplay, in intel_tv_compute_config()
1324 intel_tv_scale_mode_vert(adjusted_mode, vdisplay, in intel_tv_compute_config()
1327 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_tv_compute_config()
1328 adjusted_mode->name[0] = '\0'; in intel_tv_compute_config()