dptx: Update configuration structure when MST is enabled/disabled in hardware.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
c53c4b7d73
commit
89e9c90d9b
1 changed files with 4 additions and 0 deletions
|
@ -349,6 +349,8 @@ u32 XDptx_MstEnable(XDptx *InstancePtr)
|
|||
XDptx_WriteReg(InstancePtr->Config.BaseAddr, XDPTX_TX_MST_CONFIG,
|
||||
XDPTX_TX_MST_CONFIG_MST_EN_MASK);
|
||||
|
||||
XDptx_MstCfgModeEnable(InstancePtr);
|
||||
|
||||
return XST_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -389,6 +391,8 @@ u32 XDptx_MstDisable(XDptx *InstancePtr)
|
|||
/* Disable MST mode in the DisplayPort TX. */
|
||||
XDptx_WriteReg(InstancePtr->Config.BaseAddr, XDPTX_TX_MST_CONFIG, 0x0);
|
||||
|
||||
XDptx_MstCfgModeDisable(InstancePtr);
|
||||
|
||||
return XST_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue