drm_dp_dual_mode_max_tmds_clock(9) Max TMDS clock for DP dual mode adaptor

SYNOPSIS

int drm_dp_dual_mode_max_tmds_clock(enum drm_dp_dual_mode_type type, struct i2c_adapter * adapter);

ARGUMENTS

type

DP dual mode adaptor type

adapter

I2C adapter for the DDC bus

DESCRIPTION

Determine the max TMDS clock the adaptor supports based on the type of the dual mode adaptor and the DP_DUAL_MODE_MAX_TMDS_CLOCK register (on type2 adaptors). As some type 1 adaptors have problems with registers (see comments in drm_dp_dual_mode_detect) we don't read the register on those, instead we simply assume a 165 MHz limit based on the specification.

RETURNS

Maximum supported TMDS clock rate for the DP dual mode adaptor in kHz.

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