drm_mode_connector_list_update(9)

drm_mode_connector_list_update9

Update the mode list for the connector

Usage

void drm_mode_connector_list_update(struct drm_connector * connector, bool merge_type_bits);

Arguments

connector

the connector to update

merge_type_bits

whether to merge or overright type bits.

Overview

This moves the modes from the connector probed_modes list to the actual mode list. It compares the probed mode against the current list and only adds different/new modes.

This is just a helper functions doesn't validate any modes itself and also doesn't prune any invalid modes. Callers need to do that themselves.

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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.