'\" t .\" Title: drm_gtf_mode_complex .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Core .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "DRM_GTF_MODE_COMPLEX" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "DRM Core" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" drm_gtf_mode_complex \- create the modeline based on the full GTF algorithm .SH "SYNOPSIS" .HP \w'struct\ drm_display_mode\ *\ drm_gtf_mode_complex('u .BI "struct drm_display_mode * drm_gtf_mode_complex(struct\ drm_device\ *\ " "dev" ", int\ " "hdisplay" ", int\ " "vdisplay" ", int\ " "vrefresh" ", bool\ " "interlaced" ", int\ " "margins" ", int\ " "GTF_M" ", int\ " "GTF_2C" ", int\ " "GTF_K" ", int\ " "GTF_2J" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 drm device .RE .PP \fIhdisplay\fR .RS 4 hdisplay size .RE .PP \fIvdisplay\fR .RS 4 vdisplay size .RE .PP \fIvrefresh\fR .RS 4 vrefresh rate\&. .RE .PP \fIinterlaced\fR .RS 4 whether to compute an interlaced mode .RE .PP \fImargins\fR .RS 4 desired margin (borders) size .RE .PP \fIGTF_M\fR .RS 4 extended GTF formula parameters .RE .PP \fIGTF_2C\fR .RS 4 extended GTF formula parameters .RE .PP \fIGTF_K\fR .RS 4 extended GTF formula parameters .RE .PP \fIGTF_2J\fR .RS 4 extended GTF formula parameters .RE .SH "DESCRIPTION" .PP 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\&. .SH "RETURNS" .PP The modeline based on the full GTF algorithm stored in a drm_display_mode object\&. The display mode object is allocated with \fBdrm_mode_create\fR\&. Returns NULL when no mode could be allocated\&. .SH "AUTHORS" .PP \fBJesse Barnes\fR <\&jesse.barnes@intel.com\&> .br Intel Corporation, .RS 4 Initial version .RE .PP \fBLaurent Pinchart\fR <\&laurent.pinchart@ideasonboard.com\&> .br Ideas on board SPRL, .RS 4 Driver internals .RE .PP \fBDaniel Vetter\fR <\&daniel.vetter@ffwll.ch\&> .br Intel Corporation, .RS 4 Contributions all over the place .RE .SH "COPYRIGHT" .br