drm_fb_cma_get_gem_obj(9) Get CMA GEM object for framebuffer

SYNOPSIS

struct drm_gem_cma_object * drm_fb_cma_get_gem_obj(struct drm_framebuffer * fb, unsigned int plane);

ARGUMENTS

fb

The framebuffer

plane

Which plane

DESCRIPTION

Return the CMA GEM object for given framebuffer.

This function will usually be called from the CRTC callback functions.

AUTHORS

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

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT