carta
drm_plane_init(9)

drm_plane_init9

Initialize a legacy plane

Arguments

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)

Overview

Legacy API to initialize a DRM plane.

New drivers should call drm_universal_plane_init instead.

Returns

Zero on success, error code on failure.

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.