'\" t .\" Title: drm_primary_helper_create_plane .\" 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_PRIMARY_HELPER_C" "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_primary_helper_create_plane \- Create a generic primary plane .SH "SYNOPSIS" .HP \w'struct\ drm_plane\ *\ drm_primary_helper_create_plane('u .BI "struct drm_plane * drm_primary_helper_create_plane(struct\ drm_device\ *\ " "dev" ", const\ uint32_t\ *\ " "formats" ", int\ " "num_formats" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 drm device .RE .PP \fIformats\fR .RS 4 pixel formats supported, or NULL for a default safe list .RE .PP \fInum_formats\fR .RS 4 size of \fIformats\fR; ignored if \fIformats\fR is NULL .RE .SH "DESCRIPTION" .PP Allocates and initializes a primary plane that can be used with the primary plane helpers\&. Drivers that wish to use driver\-specific plane structures or provide custom handler functions may perform their own allocation and initialization rather than calling this function\&. .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