drm_framebuffer_lookup(9) look up a drm framebuffer and grab a reference

SYNOPSIS

struct drm_framebuffer * drm_framebuffer_lookup(struct drm_device * dev, uint32_t id);

ARGUMENTS

dev

drm device

id

id of the fb object

DESCRIPTION

If successful, this grabs an additional reference to the framebuffer - callers need to make sure to eventually unreference the returned framebuffer again.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

COPYRIGHT