Lines Matching refs:adjusted_mode
1087 struct drm_display_mode *adjusted_mode = in intel_tv_get_config() local
1088 &pipe_config->hw.adjusted_mode; in intel_tv_get_config()
1092 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_get_config()
1093 int vdisplay = adjusted_mode->crtc_vdisplay; in intel_tv_get_config()
1155 adjusted_mode->crtc_clock = mode.clock; in intel_tv_get_config()
1156 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in intel_tv_get_config()
1157 adjusted_mode->crtc_clock /= 2; in intel_tv_get_config()
1190 struct drm_display_mode *adjusted_mode = in intel_tv_compute_config() local
1191 &pipe_config->hw.adjusted_mode; in intel_tv_compute_config()
1192 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_compute_config()
1193 int vdisplay = adjusted_mode->crtc_vdisplay; in intel_tv_compute_config()
1198 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_tv_compute_config()
1208 intel_tv_mode_to_mode(adjusted_mode, tv_mode); in intel_tv_compute_config()
1209 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_tv_compute_config()
1212 !intel_tv_vert_scaling(adjusted_mode, conn_state, vdisplay)) { in intel_tv_compute_config()
1215 extra = adjusted_mode->crtc_vdisplay - vdisplay; in intel_tv_compute_config()
1241 adjusted_mode->clock /= 2; in intel_tv_compute_config()
1242 adjusted_mode->crtc_clock /= 2; in intel_tv_compute_config()
1243 adjusted_mode->flags |= DRM_MODE_FLAG_INTERLACE; in intel_tv_compute_config()
1253 drm_mode_debug_printmodeline(adjusted_mode); in intel_tv_compute_config()
1320 intel_tv_scale_mode_horiz(adjusted_mode, hdisplay, in intel_tv_compute_config()
1323 intel_tv_scale_mode_vert(adjusted_mode, vdisplay, in intel_tv_compute_config()
1326 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_tv_compute_config()
1327 adjusted_mode->name[0] = '\0'; in intel_tv_compute_config()