Lines Matching refs:vdisplay
120 * @vdisplay: vdisplay size
127 * according to the hdisplay, vdisplay, vrefresh.
141 int vdisplay, int vrefresh,
161 if (!hdisplay || !vdisplay)
195 vdisplay_rnd = vdisplay / 2;
197 vdisplay_rnd = vdisplay;
204 drm_mode->vdisplay = vdisplay + 2 * vmargin;
213 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay))
215 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay))
217 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay))
219 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay))
221 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay))
284 drm_mode->vsync_start = drm_mode->vdisplay + CVT_MIN_V_PORCH;
316 drm_mode->vsync_start = drm_mode->vdisplay + CVT_RB_VFPORCH;
348 * @vdisplay: vdisplay size
366 drm_gtf_mode_complex(struct drm_device *dev, int hdisplay, int vdisplay,
399 if (!hdisplay || !vdisplay)
419 vdisplay_rnd = vdisplay / 2;
421 vdisplay_rnd = vdisplay;
514 drm_mode->vdisplay = vdisplay_rnd;
540 * @vdisplay: vdisplay size
571 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh,
574 return drm_gtf_mode_complex(dev, hdisplay, vdisplay, vrefresh,
596 dmode->vdisplay = vm->vactive;
597 dmode->vsync_start = dmode->vdisplay + vm->vfront_porch;
637 vm->vactive = dmode->vdisplay;
638 vm->vfront_porch = dmode->vsync_start - dmode->vdisplay;
737 * Set the name of @mode to a standard format which is <hdisplay>x<vdisplay>
745 mode->hdisplay, mode->vdisplay,
780 * drm_mode_get_hv_timing - Fetches hdisplay/vdisplay for given mode
783 * @vdisplay: vdisplay value to fill in
785 * The vdisplay value will be doubled if the specified mode is a stereo mode of
789 int *hdisplay, int *vdisplay)
795 *vdisplay = adjusted.crtc_vdisplay;
825 p->crtc_vdisplay = p->vdisplay;
929 mode1->vdisplay == mode2->vdisplay &&
1098 if (mode->vdisplay == 0 ||
1099 mode->vsync_start < mode->vdisplay ||
1157 if (maxY > 0 && mode->vdisplay > maxY)
1304 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay;
1909 out->vdisplay = in->vdisplay;
1969 out->vdisplay = in->vdisplay;