Name
drm_panel_get_modes —
probe the available display modes of a 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.