other versions
- jessie 3.16.56-1+deb8u1
DRM_FRAMEBUFFER_INIT(9) | DRM Core | DRM_FRAMEBUFFER_INIT(9) |
NAME¶
drm_framebuffer_init - initialize a framebufferSYNOPSIS¶
int
drm_framebuffer_init(struct drm_device * dev,
struct drm_framebuffer * fb,
const struct drm_framebuffer_funcs * funcs);
ARGUMENTS¶
devDRM device
fb
framebuffer to be initialized
funcs
... with these functions
DESCRIPTION¶
Allocates an ID for the framebuffer's parent mode object, sets its mode functions & device file and adds it to the master fd list.IMPORTANT¶
This functions publishes the fb and makes it available for concurrent access by other users. Which means by this point the fb _must_ be fully set up - since all the fb attributes are invariant over its lifetime, no further locking but only correct reference counting is required.RETURNS¶
Zero on success, error code on failure.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |