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.