Name

drm_crtc_init — Legacy CRTC initialization function

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.