1. NAME

drm_crtc_init - Initialise a new CRTC object

2. SYNOPSIS

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

3. ARGUMENTS

dev
    DRM device

crtc
    CRTC object to init

funcs
    callbacks for the new CRTC

4. DESCRIPTION

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

5. RETURNS

Zero on success, error code on failure.

6. AUTHORS

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

7. COPYRIGHT