drm_fb_cma_create — drm_mode_config_funcs ->fb_create callback function
struct drm_framebuffer * drm_fb_cma_create ( | struct drm_device * dev, |
struct drm_file * file_priv, | |
const struct drm_mode_fb_cmd2 * mode_cmd) ; |
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.