Name
drm_fbdev_cma_init —
Allocate and initializes a drm_fbdev_cma struct
Synopsis
struct drm_fbdev_cma * drm_fbdev_cma_init ( | struct drm_device * dev, |
| | unsigned int preferred_bpp, |
| | unsigned int num_crtc, |
| | unsigned int max_conn_count); |
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
Description
Returns a newly allocated drm_fbdev_cma struct or a ERR_PTR.