VC Payload ID Reordering in MST - 3.0 English

DisplayPort 1.4 RX Subsystem Product Guide (PG300)

Document ID
PG300
Release Date
2022-05-04
Version
3.0 English

The DisplayPort RX Subsystem uses VC payload ID 0 to 3 by default. Use the following application code as reference in ACT interrupt handler to reorder VC payload ID 4 to VC payload ID 1.


 u8 flag=0;
 u32 temp=0;
 for (int i=1;i<64;i++)
 {
     // read the internal register to know the IDs
     temp=XDp_ReadReg(DpRxSsInst.DpPtr->Config.BaseAddr, (0x800 + i*4));
    // if the ID is 4 
    if(temp==4){
        flag=1;
        // Change it 1 
        // this puts stream4 onto stream 1
        XDp_WriteReg(DpRxSsInst.DpPtr->Config.BaseAddr, (0x800 + i*4), 0x1);
     }
 }
 
 // When the IDs are re-ordered, write 0x17 to 0xD0 to update the table
 if(flag==1){
     XDp_WriteReg(DpRxSsInst.DpPtr->Config.BaseAddr, 0xD0,0x17);
 }