1. NAME

drm_framebuffer_lookup - look up a drm framebuffer and grab a reference

2. SYNOPSIS

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

3. ARGUMENTS

dev
    drm device

id
    id of the fb object

4. DESCRIPTION

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

5. AUTHORS

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

6. COPYRIGHT