SYNOPSIS

int drm_crtc_init(struct drm_device * dev, struct drm_crtc * crtc, const struct drm_crtc_funcs * funcs);

ARGUMENTS

dev

DRM device

crtc

CRTC object to init

funcs

callbacks for the new CRTC

DESCRIPTION

Initialize a CRTC object with a default helper-provided primary plane and no cursor plane.

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

COPYRIGHT