drm_crtc_init(9) Initialise a new CRTC object

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

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

COPYRIGHT