'\" t .\" Title: drm_helper_mode_fill_fb_struct .\" 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_HELPER_MODE_FILL" "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_helper_mode_fill_fb_struct \- fill out framebuffer metadata .SH "SYNOPSIS" .HP \w'void\ drm_helper_mode_fill_fb_struct('u .BI "void drm_helper_mode_fill_fb_struct(struct\ drm_framebuffer\ *\ " "fb" ", struct\ drm_mode_fb_cmd2\ *\ " "mode_cmd" ");" .SH "ARGUMENTS" .PP \fIfb\fR .RS 4 drm_framebuffer object to fill out .RE .PP \fImode_cmd\fR .RS 4 metadata from the userspace fb creation request .RE .SH "DESCRIPTION" .PP This helper can be used in a drivers fb_create callback to pre\-fill the fb\*(Aqs metadata fields\&. .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