drm_primary_helper_create_plane9
Create a generic primary plane
Arguments
dev
drm device
formats
pixel formats supported, or NULL for a default safe list
num_formats
size of formats; ignored if formats is NULL
Overview
Allocates and initializes a primary plane that can be used with the primary plane helpers. Drivers that wish to use driver-specific plane structures or provide custom handler functions may perform their own allocation and initialization rather than calling this function.