drm_mode_connector_list_update
Prev | Display Modes Function Reference | Next

## Name

drm_mode_connector_list_update — update the mode list for the connector

## Synopsis

`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 overwrite type bits

## Description

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.

Prev | Up | Next
drm_mode_sort | Home | drm_mode_parse_command_line_for_connector