drm_fb_cma_create_with_funcs(9) helper function for the drm_mode_config_funcs ->fb_create callback function

SYNOPSIS

struct drm_framebuffer * drm_fb_cma_create_with_funcs(struct drm_device * dev, struct drm_file * file_priv, const struct drm_mode_fb_cmd2 * mode_cmd, const struct drm_framebuffer_funcs * funcs);

ARGUMENTS

dev

-- undescribed --

file_priv

-- undescribed --

mode_cmd

-- undescribed --

funcs

-- undescribed --

FRAMEBUFFER CMA HELPER FUNCTIONS

This can be used to set drm_framebuffer_funcs for drivers that need the dirty callback. Use drm_fb_cma_create if you don't need to change drm_framebuffer_funcs.

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