'\" t .\" Title: drm_plane_init .\" 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_PLANE_INIT" "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_plane_init \- Initialize a legacy plane .SH "SYNOPSIS" .HP \w'int\ drm_plane_init('u .BI "int drm_plane_init(struct\ drm_device\ *\ " "dev" ", struct\ drm_plane\ *\ " "plane" ", unsigned\ long\ " "possible_crtcs" ", const\ struct\ drm_plane_funcs\ *\ " "funcs" ", const\ uint32_t\ *\ " "formats" ", uint32_t\ " "format_count" ", bool\ " "is_primary" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 DRM device .RE .PP \fIplane\fR .RS 4 plane object to init .RE .PP \fIpossible_crtcs\fR .RS 4 bitmask of possible CRTCs .RE .PP \fIfuncs\fR .RS 4 callbacks for the new plane .RE .PP \fIformats\fR .RS 4 array of supported formats (\fBDRM_FORMAT_\fR*) .RE .PP \fIformat_count\fR .RS 4 number of elements in \fIformats\fR .RE .PP \fIis_primary\fR .RS 4 plane type (primary vs overlay) .RE .SH "DESCRIPTION" .PP Legacy API to initialize a DRM plane\&. .PP New drivers should call \fBdrm_universal_plane_init\fR instead\&. .SH "RETURNS" .PP Zero on success, error code on failure\&. .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