'\" t .\" Title: struct drm_fb_helper_funcs .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Core .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "STRUCT DRM_FB_HELPER" "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" struct_drm_fb_helper_funcs \- driver callbacks for the fbdev emulation library .SH "SYNOPSIS" .sp .nf struct drm_fb_helper_funcs { void (* gamma_set) (struct drm_crtc *crtc, u16 red, u16 green,u16 blue, int regno); void (* gamma_get) (struct drm_crtc *crtc, u16 *red, u16 *green,u16 *blue, int regno); int (* fb_probe) (struct drm_fb_helper *helper,struct drm_fb_helper_surface_size *sizes); bool (* initial_config) (struct drm_fb_helper *fb_helper,struct drm_fb_helper_crtc **crtcs,struct drm_display_mode **modes,bool *enabled, int width, int height); }; .fi .SH "MEMBERS" .PP gamma_set .RS 4 Set the given gamma lut register on the given crtc\&. .RE .PP gamma_get .RS 4 Read the given gamma lut register on the given crtc, used to save the current lut when force\-restoring the fbdev for e\&.g\&. kdbg\&. .RE .PP fb_probe .RS 4 Driver callback to allocate and initialize the fbdev info structure\&. Furthermore it also needs to allocate the drm framebuffer used to back the fbdev\&. .RE .PP initial_config .RS 4 Setup an initial fbdev display configuration .RE .SH "DESCRIPTION" .PP Driver callbacks used by the fbdev emulation helper library\&. .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