Query: drm_fb_helper_init
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DRM_FB_HELPER_INIT(9) DRM Internals DRM_FB_HELPER_INIT(9)NAMEdrm_fb_helper_init - initialize a drm_fb_helper structureSYNOPSISint drm_fb_helper_init(struct drm_device * dev, struct drm_fb_helper * fb_helper, int crtc_count, int max_conn_count);ARGUMENTSdev drm device fb_helper driver-allocated fbdev helper structure to initialize crtc_count maximum number of crtcs to support in this fbdev emulation max_conn_count max connector countDESCRIPTIONThis allocates the structures for the fbdev helper with the given limits. Note that this won't yet touch the hardware (through the driver interfaces) nor register the fbdev. This is only done in drm_fb_helper_initial_config to allow driver writes more control over the exact init sequence. Drivers must set fb_helper->funcs before calling drm_fb_helper_initial_config.RETURNSZero if everything went ok, nonzero otherwise.AUTHORSJesse Barnes <jesse.barnes@intel.com> Intel Corporation, Initial version Laurent Pinchart <laurent.pinchart@ideasonboard.com> Ideas on board SPRL, Driver internalsCOPYRIGHTKernel Hackers Manual 3.10 June 2014 DRM_FB_HELPER_INIT(9)