drm_universal_plane_init — Initialize a new universal plane object
int drm_universal_plane_init ( | struct drm_device * dev, |
| struct drm_plane * plane, | |
| unsigned long possible_crtcs, | |
| const struct drm_plane_funcs * funcs, | |
| const uint32_t * formats, | |
| unsigned int format_count, | |
| enum drm_plane_type type, | |
| const char * name, | |
...); |
devDRM device
planeplane object to init
possible_crtcsbitmask of possible CRTCs
funcscallbacks for the new plane
formats
array of supported formats (DRM_FORMAT_*)
format_count
number of elements in formats
typetype of plane (overlay, primary, cursor)
nameprintf style format string for the plane name, or NULL for default name
...variable arguments