drm_set_preferred_mode(9) 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.

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

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT