Searched refs:crtc_mode (Results 1 – 2 of 2) sorted by relevance
548 struct drm_display_mode *crtc_mode = &encoder->crtc->mode; in nv17_ctv_update_rescaler() local559 hmargin = (output_mode->hdisplay - crtc_mode->hdisplay) / 2; in nv17_ctv_update_rescaler()560 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; in nv17_ctv_update_rescaler()567 hratio = crtc_mode->hdisplay * 0x800 / in nv17_ctv_update_rescaler()569 vratio = crtc_mode->vdisplay * 0x800 / in nv17_ctv_update_rescaler()
2936 DisplayModePtr crtc_mode = NULL; in xf86SetSingleMode() local2950 if (crtc_mode) { in xf86SetSingleMode()2951 output_mode = xf86OutputFindClosestMode(output, crtc_mode); in xf86SetSingleMode()2952 if (output_mode != crtc_mode) in xf86SetSingleMode()2956 crtc_mode = xf86OutputFindClosestMode(output, desired); in xf86SetSingleMode()2958 if (!crtc_mode) { in xf86SetSingleMode()2962 if (!xf86CrtcSetModeTransform(crtc, crtc_mode, rotation, NULL, 0, 0)) in xf86SetSingleMode()2965 xf86SaveModeContents(&crtc->desiredMode, crtc_mode); in xf86SetSingleMode()