drm_bridge_mode_fixup(9) fixup proposed mode for all bridges in the encoder chain

SYNOPSIS

bool drm_bridge_mode_fixup(struct drm_bridge * bridge, const struct drm_display_mode * mode, struct drm_display_mode * adjusted_mode);

ARGUMENTS

bridge

bridge control structure

mode

desired mode to be set for the bridge

adjusted_mode

updated mode that works for this bridge

DESCRIPTION

Calls ->mode_fixup drm_bridge_funcs op for all the bridges in the encoder chain, starting from the first bridge to the last.

NOTE

the bridge passed should be the one closest to the encoder

RETURNS

true on success, false on failure

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