Name

drm_panel_get_modes — probe the available display modes of a panel

Synopsis

int drm_panel_get_modes (struct drm_panel * panel);
 

Arguments

panel

DRM panel

Description

The modes probed from the panel are automatically added to the connector that the panel is attached to.

Return

The number of modes available from the panel on success or a negative error code on failure.