Name

drm_panel_attach — attach a panel to a connector

Synopsis

int drm_panel_attach (struct drm_panel * panel,
 struct drm_connector * connector);
 

Arguments

panel

DRM panel

connector

DRM connector

Description

After obtaining a pointer to a DRM panel a display driver calls this function to attach a panel to a connector.

An error is returned if the panel is already attached to another connector.

Return

0 on success or a negative error code on failure.