dp: tx: Don't write voltage swing and pre-emphasis values when writing TP0.
For compliance, training pattern 0 should be written without using a burst write for voltage swing and pre-emphasis values. Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
a36b777a40
commit
57a0c64dd0
1 changed files with 10 additions and 4 deletions
|
@ -2714,10 +2714,16 @@ static u32 XDp_TxSetTrainingPattern(XDp *InstancePtr, u32 Pattern)
|
|||
/* Make the adjustments to both the DisplayPort TX core and the RX
|
||||
* device. */
|
||||
XDp_TxSetVswingPreemp(InstancePtr, &AuxData[1]);
|
||||
/* Write the voltage swing and pre-emphasis levels for each lane to the
|
||||
* RX device. */
|
||||
Status = XDp_TxAuxWrite(InstancePtr, XDP_DPCD_TP_SET,
|
||||
5, AuxData);
|
||||
if (Pattern == XDP_TX_TRAINING_PATTERN_SET_OFF) {
|
||||
Status = XDp_TxAuxWrite(InstancePtr, XDP_DPCD_TP_SET, 1,
|
||||
AuxData);
|
||||
}
|
||||
else {
|
||||
/* Write the voltage swing and pre-emphasis levels for each lane
|
||||
* to the RX device. */
|
||||
Status = XDp_TxAuxWrite(InstancePtr, XDP_DPCD_TP_SET, 5,
|
||||
AuxData);
|
||||
}
|
||||
if (Status != XST_SUCCESS) {
|
||||
return XST_FAILURE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue