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:
Andrei-Liviu Simion 2014-10-27 10:16:22 -07:00 committed by Suneel Garapati
parent c53c4b7d73
commit 89e9c90d9b

View file

@ -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;
}