Name

drm_connector_init — Init a preallocated connector

Synopsis

int drm_connector_init (struct drm_device * dev,
 struct drm_connector * connector,
 const struct drm_connector_funcs * funcs,
 int connector_type);
 

Arguments

dev

DRM device

connector

the connector to init

funcs

callbacks for this connector

connector_type

user visible type of the connector

Description

Initialises a preallocated connector. Connectors should be subclassed as part of driver connector objects.

Returns

Zero on success, error code on failure.