drm_fbdev_cma_init(9) 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.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT