drm_set_preferred_mode
Prev | EDID Helper Functions Reference | Next

## Name

drm_set_preferred_mode — Sets the preferred mode of a connector

## Synopsis

`void drm_set_preferred_mode (` | struct drm_connector * connector,
| int hpref,
| int vpref`)`;

## Arguments

`connector`

  connector whose mode list should be processed

`hpref`

  horizontal resolution of preferred mode

`vpref`

  vertical resolution of preferred mode

## Description

Marks a mode as preferred if it matches the resolution specified by `hpref` and `vpref`.

Prev | Up | Next
drm_add_modes_noedid | Home | drm_hdmi_avi_infoframe_from_display_mode