'\" t .\" Title: drm_gem_handle_create .\" 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_GEM_HANDLE_CREAT" "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_gem_handle_create \- create a gem handle for an object .SH "SYNOPSIS" .HP \w'int\ drm_gem_handle_create('u .BI "int drm_gem_handle_create(struct\ drm_file\ *\ " "file_priv" ", struct\ drm_gem_object\ *\ " "obj" ", u32\ *\ " "handlep" ");" .SH "ARGUMENTS" .PP \fIfile_priv\fR .RS 4 drm file\-private structure to register the handle for .RE .PP \fIobj\fR .RS 4 object to register .RE .PP \fIhandlep\fR .RS 4 pionter to return the created handle to the caller .RE .SH "DESCRIPTION" .PP Create a handle for this object\&. This adds a handle reference to the object, which includes a regular reference count\&. Callers will likely want to dereference the object afterwards\&. .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