embeddedsw/XilinxProcessorIPLib/drivers/dp/src
Andrei-Liviu Simion 3b2961139d dp: Only increment segment pointer if required.
It seems that monitors capable of MST, upon switching to SST mode in the monitor
options menu, respond with NACK when the segment pointer is written.
These same monitors ACK segment pointer writes when running in MST mode.
Tested monitors that are SST only monitors also ACK segment pointer writes.

The issue here is that MST monitors running in SST mode will error out when the
I2C read function is called because the segment pointer is always being written
to 0 (segment pointer is reset), and thus receives a NACK.
This patch prevents this from happening.

From now on, if the user changes the segment pointer, it is up to them to reset
it to 0.
The I2C read will only increment the segment pointer when required to do a read
outside of the base EDID block.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:34:49 +05:30
..
Makefile dp: Initial version based on dptx. 2015-04-26 10:32:14 +05:30
xdp.c dp: Only increment segment pointer if required. 2015-04-26 10:34:49 +05:30
xdp.h dp: rx: Added audio info and extension packet received interrupt handlers. 2015-04-26 10:34:40 +05:30
xdp_edid.c dp: Added TX/RX assertions on all API functions. 2015-04-26 10:34:37 +05:30
xdp_hw.h dp: Added initial modification history comment. 2015-04-26 10:34:34 +05:30
xdp_intr.c dp: rx: Added audio info and extension packet received interrupt handlers. 2015-04-26 10:34:40 +05:30
xdp_mst.c dp: tx: Added function header to XDp_TxSendSbMsgRemoteIicWrite. 2015-04-26 10:34:38 +05:30
xdp_selftest.c dp: TX/RX core type should operate on the XDp structure pointer. 2015-04-26 10:34:35 +05:30
xdp_sinit.c dp: Added initial modification history comment. 2015-04-26 10:34:34 +05:30
xdp_spm.c dp: Added TX/RX assertions on all API functions. 2015-04-26 10:34:37 +05:30