This interrupt is triggered every time an HDMI TX cable connection or disconnection (HPD level transition) occurs. The callback function must perform the following:
- Check if the event is cable connected or cable disconnected:
XV_HdmiTxSs *HdmiTxSsPtr = (XV_HdmiTxSs *)CallbackRef; HdmiTxSsPtr->IsStreamConnected 1 - Connected 0 - Disconnected
- Enable or disable the differential input clock buffer depending on if cable
connection or disconnection occurs, respectively.
void XVphy_IBufDsEnable(XVphy *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Enable);
- Detect if the HDMI sink connected is HDMI 2.0 capable
and if cable is connected.
int XV_HdmiTxSs_DetectHdmi20(XV_HdmiTxSs *InstancePtr);
- Now, the HDMI sink has been detected, retrieve the
sink EDID information, and store it in a local buffer (256 bytes) using the
following API:
int XV_HdmiTxSs_ReadEdid(XV_HdmiTxSs *InstancePtr, u8 *Buffer);