drm_crtc_init_with_planes(9)

drm_crtc_init_with_planes9

Initialise a new crtc object with specified primary and cursor planes.

Usage

int drm_crtc_init_with_planes(struct drm_device * dev, struct drm_crtc * crtc, struct drm_plane * primary, void * cursor, const struct drm_crtc_funcs * funcs);

Arguments

dev

DRM device

crtc

CRTC object to init

primary

Primary plane for CRTC

cursor

Cursor plane for CRTC

funcs

callbacks for the new CRTC

Overview

Inits a new object created as base part of a driver crtc object.

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.