Look up a drm framebuffer and grab a reference
struct drm_framebuffer * drm_framebuffer_lookup(struct drm_device * dev, uint32_t id);
dev
drm device
id
id of the fb object
If successful, this grabs an additional reference to the framebuffer - callers need to make sure to eventually unreference the returned framebuffer again, using drm_framebuffer_unreference.
Jesse Barnes <[email protected]>
Intel Corporation,
Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
Contributions all over the place