drm_connector_init(9)

drm_connector_init9

Init a preallocated connector

Usage

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

Overview

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

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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.