Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Dtvmodesnv17.c550 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local
559 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; in nv17_ctv_update_rescaler()
563 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), in nv17_ctv_update_rescaler()
564 vmargin, overscan); in nv17_ctv_update_rescaler()
569 (output_mode->vdisplay - 2*vmargin) & ~3; in nv17_ctv_update_rescaler()
573 regs->fp_vert_regs[FP_VALID_START] = vmargin; in nv17_ctv_update_rescaler()
574 regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1; in nv17_ctv_update_rescaler()
/linux-6.6.21/drivers/gpu/drm/i2c/
Dch7006_drv.c268 priv->vmargin); in ch7006_encoder_create_resources()
313 priv->vmargin = val; in ch7006_encoder_set_property()
462 priv->vmargin = 50; in ch7006_encoder_init()
Dch7006_priv.h90 int vmargin; member
Dch7006_mode.c358 + norm->voffset) * priv->vmargin / 100 / 2; in ch7006_setup_properties()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_modes.c637 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local
680 vmargin = 0; in drm_cvt_mode()
682 vmargin = vdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; in drm_cvt_mode()
684 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()
721 tmp2 = (vdisplay_rnd + 2 * vmargin + CVT_MIN_V_PORCH) * 2 + in drm_cvt_mode()
733 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()
781 tmp2 = vdisplay_rnd + 2 * vmargin; in drm_cvt_mode()
789 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode()