carta
drm_gtf_mode_complex(9)

drm_gtf_mode_complex9

Create the modeline based on the full gtf algorithm

Arguments

dev

drm device

hdisplay

hdisplay size

vdisplay

vdisplay size

vrefresh

vrefresh rate.

interlaced

whether to compute an interlaced mode

margins

desired margin (borders) size

GTF_M

extended GTF formula parameters

GTF_2C

extended GTF formula parameters

GTF_K

extended GTF formula parameters

GTF_2J

extended GTF formula parameters

Overview

GTF feature blocks specify C and J in multiples of 0.5, so we pass them in here multiplied by two. For a C of 40, pass in 80.

Returns

The modeline based on the full GTF algorithm stored in a drm_display_mode object. The display mode object is allocated with drm_mode_create. Returns NULL when no mode could be allocated.

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.