SYNOPSIS
- int drm_dp_dual_mode_set_tmds_output(enum drm_dp_dual_mode_type type, struct i2c_adapter * adapter, bool enable);
ARGUMENTS
type
-
- DP dual mode adaptor type
adapter
- I2C adapter for the DDC bus
enable
- enable (as opposed to disable) the TMDS output buffers
DESCRIPTION
Set the state of the TMDS output buffers in the adaptor. For type2 this is set via 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 avoid touching the register, making this function a no-op on type 1 adaptors.
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