Home
last modified time | relevance | path

Searched refs:crtc_mode (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c548 struct drm_display_mode *crtc_mode = &encoder->crtc->mode; in nv17_ctv_update_rescaler() local
559 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()
/OK3568_Linux_fs/external/xserver/hw/xfree86/modes/
H A Dxf86Crtc.c2936 DisplayModePtr crtc_mode = NULL; in xf86SetSingleMode() local
2950 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()