<dec f='src/src/sys/external/bsd/drm2/dist/include/drm/drm_crtc.h' l='891' type='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, __uint32_t format_count, enum drm_plane_type type)'/>
<def f='src/src/sys/external/bsd/drm2/dist/drm/drm_crtc.c' l='1049' ll='1093' type='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, __uint32_t format_count, enum drm_plane_type type)'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/drm_crtc.c' l='1122' u='c' c='drm_plane_init'/>
<doc f='src/src/sys/external/bsd/drm2/dist/drm/drm_crtc.c' l='1034'>/**
 * drm_universal_plane_init - Initialize a new universal plane object
 * @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
 * @type: type of plane (overlay, primary, cursor)
 *
 * Initializes a plane object of type @type.
 *
 * Returns:
 * Zero on success, error code on failure.
 */</doc>
