Name

drm_fb_cma_create — drm_mode_config_funcs ->fb_create callback function

Synopsis

struct drm_framebuffer * drm_fb_cma_create (struct drm_device * dev,
 struct drm_file * file_priv,
 const struct drm_mode_fb_cmd2 * mode_cmd);
 

Arguments

dev

-- undescribed --

file_priv

-- undescribed --

mode_cmd

-- undescribed --

Description

If your hardware has special alignment or pitch requirements these should be checked before calling this function. Use drm_fb_cma_create_with_funcs if you need to set drm_framebuffer_funcs ->dirty.