- Disable the Video PHY Controller
/HDMI GT Subsystem TMDS clock for the HDMI 1.4/2.0 TX Subsystem through the API:
XVphy_Clkout1OBufTdsEnable(XVphy *InstancePtr, XVphy_DirectionType Dir, u8 Enable);
Example:
XVphy_Clkout1OBufTdsEnable(VphyPtr, XVPHY_DIR_TX, (FALSE));
- Set the HDMI 1.4/2.0 TX Subsystem stream parameters
through the API:
u32 XV_HdmiTxSs_SetStream(XV_HdmiTxSs *InstancePtr, XVidC_VideoMode VideoMode, XVidC_ColorFormat ColorFormat, XVidC_ColorDepth Bpc, XVidC_3DInfo *Info3D);
Example:
TmdsClock = XV_HdmiTxSs_SetStream(HdmiTxSsPtr, VideoMode, ColorFormat, Bpc, NULL);
- Set the Video PHY Controller
/HDMI GT Subsystem TX reference clock:
VphyPtr->HdmiTxRefClkHz = TmdsClock;
- Set the HDMI TX parameter for the Video PHY Controller
/HDMI GT Subsystem:
u32 XVphy_SetHdmiTxParam(XVphy *InstancePtr, u8 QuadId, XVphy_ChannelId ChId, XVidC_PixelsPerClock Ppc, XVidC_ColorDepth Bpc, XVidC_ColorFormat ColorFormat);
Example:
Result = XVphy_SetHdmiTxParam(VphyPtr, 0, XVPHY_CHANNEL_ID_CHA, HdmiTxSsVidStreamPtr->PixPerClk, HdmiTxSsVidStreamPtr->ColorDepth, HdmiTxSsVidStreamPtr->ColorFormatId);
- Program the external clock generator to provide the Reference TMDS clocks for the Video PHY Controller /HDMI GT Subsystem.
-
Video PHY Controller
/HDMI GT
Subsystem HDMI TX Init interrupt is received.
- Callback function registered to XVPHY_HDMI_HANDLER_TXINIT Interrupt type is called.
-
Video PHY Controller
/HDMI GT
Subsystem HDMI TX Ready interrupt is received.
- Callback function registered to XVPHY_HDMI_HANDLER_TXREADY Interrupt type is called.
- HDMI TX Stream UP interrupt is received.
- Callback function registered to XV_HDMITXSS_HANDLER_STREAM_UP Interrupt type is called.