dp: rx: mst: Indicate that the payload table has been updated during allocation.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
bed16a0aca
commit
0f3d519f5b
1 changed files with 7 additions and 0 deletions
|
@ -827,6 +827,7 @@ static void XDp_TxInterruptHandler(XDp *InstancePtr)
|
|||
static void XDp_RxInterruptHandler(XDp *InstancePtr)
|
||||
{
|
||||
u32 IntrStatus;
|
||||
u32 RegVal;
|
||||
|
||||
/* Determine what kind of interrupts have occurred.
|
||||
* Note: XDP_RX_INTERRUPT_CAUSE is a RC (read-clear) register. */
|
||||
|
@ -929,6 +930,12 @@ static void XDp_RxInterruptHandler(XDp *InstancePtr)
|
|||
/* The RX's DPCD payload allocation registers have been written for
|
||||
* allocation, de-allocation, or partial deletion. */
|
||||
if (IntrStatus & XDP_RX_INTERRUPT_CAUSE_PAYLOAD_ALLOC_MASK) {
|
||||
RegVal = XDp_ReadReg(InstancePtr->Config.BaseAddr,
|
||||
XDP_RX_MST_CAP);
|
||||
RegVal |= XDP_RX_MST_CAP_VCP_UPDATE_MASK;
|
||||
XDp_WriteReg(InstancePtr->Config.BaseAddr, XDP_RX_MST_CAP,
|
||||
RegVal);
|
||||
|
||||
InstancePtr->RxInstance.IntrPayloadAllocHandler(
|
||||
InstancePtr->RxInstance.IntrPayloadAllocCallbackRef);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue