drm_dp_dual_mode_get_tmds_output(9) Get the state of the TMDS output buffers in the DP dual mode adaptor

SYNOPSIS

int drm_dp_dual_mode_get_tmds_output(enum drm_dp_dual_mode_type type, struct i2c_adapter * adapter, bool * enabled);

ARGUMENTS

type

DP dual mode adaptor type

adapter

I2C adapter for the DDC bus

enabled

current state of the TMDS output buffers

DESCRIPTION

Get the state of the TMDS output buffers in the adaptor. For type2 adaptors this is queried from the DP_DUAL_MODE_TMDS_OEN register. 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 that the buffers are always enabled.

RETURNS

0 on success, negative error code 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