Name

drm_mode_connector_attach_encoder — attach a connector to an encoder

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, negative errno on failure.