drm_cvt_mode — create a modeline based on the CVT algorithm
struct drm_display_mode * drm_cvt_mode ( | struct drm_device * dev, |
| int hdisplay, | |
| int vdisplay, | |
| int vrefresh, | |
| bool reduced, | |
| bool interlaced, | |
bool margins); |
devdrm device
hdisplayhdisplay size
vdisplayvdisplay size
vrefreshvrefresh rate
reducedwhether to use reduced blanking
interlacedwhether to compute an interlaced mode
marginswhether to add margins (borders)
This function is called to generate the modeline based on CVT algorithm according to the hdisplay, vdisplay, vrefresh. It is based from the VESA(TM) Coordinated Video Timing Generator by Graham Loveridge April 9, 2003 available at