Commit graph

9 commits

Author SHA1 Message Date
Andrei-Liviu Simion
6b2f2b94b5 dp: tx: Removed interrupt masking from the interrupt handler.
No need for this since the handler will never be called if the interrupts are
masked in the first place.

Also, by default, nested interrupts are disabled and it is up to the user to
explicitly request nested interrupts - allow this.

The interrupt mask should already apply in hardware.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:06 +05:30
Andrei-Liviu Simion
e19f8a680f dp: tx: Minor clean-up for readability.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:06 +05:30
Andrei-Liviu Simion
f016a6d3cd dp: tx: Re-enable link after the training pattern disabled.
Even if link training succeeds, sometimes, the link will fall if the link is
enabled prior to the training pattern being turned off.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:05 +05:30
Andrei-Liviu Simion
332ba9d225 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>
2015-07-07 00:12:05 +05:30
Andrei-Liviu Simion
78cccda094 dp: tx: Always ensure that any pending AUX transactions have completed.
Prior to initiating a new AUX transaction, always ensure that any pending
transactions have completed.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:04 +05:30
Andrei-Liviu Simion
2cb307c7d5 dp: tx: Ensure that for AUX transactions, the received bytes matches.
Verify that the AUX transaction replied with the expected number of bytes.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:03 +05:30
Andrei-Liviu Simion
11f81b0d62 dp: tx: Modified waiting on AUX reply to operate on REPLY_STATUS.
AUX reply now makes use of the REPLY_STATUS register rather than
INTERRUPT_STATUS. It seems that INTERRUPT_STATUS may be updated before
REPLY_STATUS gets updated, resulting in a race condition.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:01 +05:30
Andrei-Liviu Simion
9b8536c1aa dp: Updated to version to 2.0.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:01 +05:30
Andrei-Liviu Simion
903d859429 dp: New version v2.0.
Copied v1.0 directory to v2.0.

Deprecated version 1.0.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:00 +05:30