drm_fb_cma_create_with_funcs — helper function for the drm_mode_config_funcs ->fb_create callback function
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); |
dev-- undescribed --
file_priv-- undescribed --
mode_cmd-- undescribed --
funcs-- undescribed --
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.