Searched refs:vmargin (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c552 int overscan, hmargin, vmargin, hratio, vratio; nv17_ctv_update_rescaler() local
561 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; nv17_ctv_update_rescaler()
565 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), nv17_ctv_update_rescaler()
566 vmargin, overscan); nv17_ctv_update_rescaler()
571 (output_mode->vdisplay - 2*vmargin) & ~3; nv17_ctv_update_rescaler()
575 regs->fp_vert_regs[FP_VALID_START] = vmargin; nv17_ctv_update_rescaler()
576 regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1; nv17_ctv_update_rescaler()
/linux-4.1.27/drivers/gpu/drm/i2c/
H A Dch7006_drv.c264 priv->vmargin); ch7006_encoder_create_resources()
309 priv->vmargin = val; ch7006_encoder_set_property()
465 priv->vmargin = 50; ch7006_encoder_init()
H A Dch7006_priv.h91 int vmargin; member in struct:ch7006_priv
H A Dch7006_mode.c359 + norm->voffset) * priv->vmargin / 100 / 2; ch7006_setup_properties()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_modes.c166 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; drm_cvt_mode() local
205 vmargin = 0; drm_cvt_mode()
207 vmargin = vdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; drm_cvt_mode()
209 drm_mode->vdisplay = vdisplay + 2 * vmargin; drm_cvt_mode()
246 tmp2 = (vdisplay_rnd + 2 * vmargin + CVT_MIN_V_PORCH) * 2 + drm_cvt_mode()
258 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + drm_cvt_mode()
306 tmp2 = vdisplay_rnd + 2 * vmargin; drm_cvt_mode()
314 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; drm_cvt_mode()

Completed in 158 milliseconds