dp: tx: Training should fail if clock recovery fails on max voltage.

As required by DisplayPort compliance, the clock recovery sequence should
fail if all lanes haven't completed clock recovery on the first attempt
using the maximum voltage swing supported.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-02-09 15:42:42 -07:00 committed by Nava kishore Manne
parent 78cccda094
commit 332ba9d225

View file

@ -2092,6 +2092,11 @@ static XDp_TxTrainingState XDp_TxTrainingStateClockRecovery(XDp *InstancePtr)
break;
}
/* Only try maximum voltage swing once. */
if (LinkConfig->VsLevel == XDP_TX_MAXIMUM_VS_LEVEL) {
break;
}
/* Adjust the drive settings as requested by the RX device. */
Status = XDp_TxAdjVswingPreemp(InstancePtr);
if (Status != XST_SUCCESS) {