Query: drm_plane_init
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DRM_PLANE_INIT(9) DRM Internals DRM_PLANE_INIT(9)NAMEdrm_plane_init - Initialise a new plane objectSYNOPSISint 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 priv);ARGUMENTSdev 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 priv plane is private (hidden from userspace)?DESCRIPTIONInits a new object created as base part of a driver plane object.RETURNSZero on success, error code on failure.AUTHORSJesse Barnes <jesse.barnes@intel.com> Intel Corporation, Initial version Laurent Pinchart <laurent.pinchart@ideasonboard.com> Ideas on board SPRL, Driver internalsCOPYRIGHTKernel Hackers Manual 3.10 June 2014 DRM_PLANE_INIT(9)