From 6cdf439d024845011e2130f5da0d3bd3e1d33ea7 Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Tue, 13 Jan 2015 16:15:37 -0800 Subject: [PATCH] dp: tx: The channel equalization sequence only depends on the loop counter. No check is done for same voltage swing. Required for DisplayPort compliance. Signed-off-by: Andrei-Liviu Simion --- XilinxProcessorIPLib/drivers/dp/src/xdptx.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/dp/src/xdptx.c b/XilinxProcessorIPLib/drivers/dp/src/xdptx.c index f7b352b3..0136094c 100644 --- a/XilinxProcessorIPLib/drivers/dp/src/xdptx.c +++ b/XilinxProcessorIPLib/drivers/dp/src/xdptx.c @@ -1625,8 +1625,6 @@ static XDptx_TrainingState XDptx_TrainingStateChannelEqualization( u32 Status; u32 DelayUs; u32 IterationCount = 0; - u8 PrevVsLevel = 0; - u8 SameVsLevelCount = 0; XDptx_LinkConfig *LinkConfig = &InstancePtr->LinkConfig; /* Obtain the required delay for channel equalization as specified by @@ -1677,19 +1675,6 @@ static XDptx_TrainingState XDptx_TrainingStateChannelEqualization( return XDPTX_TS_SUCCESS; } - /* Check if the same voltage swing for each lane has been used 5 - * consecutive times. */ - if (PrevVsLevel == LinkConfig->VsLevel) { - SameVsLevelCount++; - } - else { - SameVsLevelCount = 0; - PrevVsLevel = LinkConfig->VsLevel; - } - if (SameVsLevelCount >= 5) { - break; - } - /* Adjust the drive settings as requested by the RX device. */ Status = XDptx_AdjVswingPreemp(InstancePtr); if (Status != XST_SUCCESS) {