Name

drm_fbdev_cma_init_with_funcs — Allocate and initializes a drm_fbdev_cma struct

Synopsis

struct drm_fbdev_cma * drm_fbdev_cma_init_with_funcs (struct drm_device * dev,
 unsigned int preferred_bpp,
 unsigned int num_crtc,
 unsigned int max_conn_count,
 const struct drm_fb_helper_funcs * funcs);
 

Arguments

dev

DRM device

preferred_bpp

Preferred bits per pixel for the device

num_crtc

Number of CRTCs

max_conn_count

Maximum number of connectors

funcs

fb helper functions, in particular fb_probe

Description

Returns a newly allocated drm_fbdev_cma struct or a ERR_PTR.