From 312deb2817fac16872e5f62ac40f56210c1669b8 Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Tue, 28 Oct 2014 12:14:26 -0700 Subject: [PATCH] dptx: Reset video streams and AUX logic upon core initialization. Signed-off-by: Andrei-Liviu Simion --- XilinxProcessorIPLib/drivers/dptx/src/xdptx.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/XilinxProcessorIPLib/drivers/dptx/src/xdptx.c b/XilinxProcessorIPLib/drivers/dptx/src/xdptx.c index 9a636971..9a1f5e19 100644 --- a/XilinxProcessorIPLib/drivers/dptx/src/xdptx.c +++ b/XilinxProcessorIPLib/drivers/dptx/src/xdptx.c @@ -169,6 +169,11 @@ u32 XDptx_InitializeTx(XDptx *InstancePtr) XDptx_WriteReg(Config->BaseAddr, XDPTX_PHY_CONFIG, XDPTX_PHY_CONFIG_GT_ALL_RESET_MASK); + /* Reset the video streams and AUX logic. */ + XDptx_WriteReg(Config->BaseAddr, XDPTX_SOFT_RESET, + XDPTX_SOFT_RESET_VIDEO_STREAM_ALL_MASK | + XDPTX_SOFT_RESET_AUX_MASK); + /* Disable the DisplayPort TX core. */ XDptx_WriteReg(Config->BaseAddr, XDPTX_ENABLE, 0);