SYNOPSIS

int drm_mode_connector_attach_encoder(struct drm_connector * connector, struct drm_encoder * encoder);

ARGUMENTS

connector

connector to attach

encoder

encoder to attach connector to

DESCRIPTION

This function links up a connector to an encoder. Note that the routing restrictions between encoders and crtcs are exposed to userspace through the possible_clones and possible_crtcs bitmasks.

RETURNS

Zero on success, errno 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

COPYRIGHT