dprxss: Instruct RX to generate HPD interrupt

This patch generates a Hot-Plug Detect (HPD) interrupt whenever RX cable
disconnect/unplug interrupt detected.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andreis@xilinx.com>
This commit is contained in:
Shadul Shaikh 2015-10-15 19:10:11 +05:30 committed by Nava kishore Manne
parent c023b29bc4
commit b505655fe0

View file

@ -49,6 +49,8 @@
* 1.00 sha 05/18/15 Initial release.
* 2.00 sha 10/05/15 Added HDCP and Timer Counter support.
* Protected HDCP under macro number of instances.
* 2.00 sha 10/15/15 Generate a HPD interrupt whenever RX cable
* disconnect/unplug interrupt is detected.
* </pre>
*
******************************************************************************/
@ -1298,6 +1300,9 @@ static void StubUnplugCallback(void *InstancePtr)
XDp_RxInterruptDisable(DpRxSsPtr->DpPtr,
XDP_RX_INTERRUPT_MASK_UNPLUG_MASK);
/* Generate a HPD interrupt. Bring down HPD signal for 750us */
XDp_RxGenerateHpdInterrupt(DpRxSsPtr->DpPtr, 750);
/* Unplug event callback */
if (DpRxSsPtr->UnplugCallback) {
DpRxSsPtr->UnplugCallback(DpRxSsPtr->UnplugRef);