drm_plane_init — Initialize a legacy plane
int drm_plane_init ( | struct drm_device * dev, |
struct drm_plane * plane, | |
unsigned long possible_crtcs, | |
const struct drm_plane_funcs * funcs, | |
const uint32_t * formats, | |
uint32_t format_count, | |
bool is_primary) ; |
dev
DRM device
plane
plane object to init
possible_crtcs
bitmask of possible CRTCs
funcs
callbacks for the new plane
formats
array of supported formats (DRM_FORMAT_
*)
format_count
number of elements in formats
is_primary
plane type (primary vs overlay)