v_hdmitxss: Rename external API

Renamed XV_HdmiTxSs_SendAudioInfoFrame API to
XV_HdmiTxSs_SendAuxInfoFrame

Corrected Ppc data type to XVidC_PixelsPerClock

Removed vtc patch as fix is available in vtc driver v7.1

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
This commit is contained in:
Rohit Consul 2015-10-22 11:45:43 -07:00 committed by Nava kishore Manne
parent e4715b82e8
commit 120d4554bd
2 changed files with 5 additions and 8 deletions

View file

@ -563,11 +563,8 @@ static int XV_HdmiTxSs_VtcSetup(XVtc *XVtcPtr, XV_HdmiTx *HdmiTxPtr)
/* Vertical Timing */
VideoTiming.VActiveVideo = HdmiTxPtr->Stream.Video.Timing.VActive;
// The VTC has an offset issue.
// This results into a wrong front porch and back porch value.
// As a workaround the front porch and back porch need to be adjusted.
VideoTiming.V0FrontPorch = HdmiTxPtr->Stream.Video.Timing.F0PVFrontPorch - 1;
VideoTiming.V0BackPorch = HdmiTxPtr->Stream.Video.Timing.F0PVBackPorch + 1;
VideoTiming.V0FrontPorch = HdmiTxPtr->Stream.Video.Timing.F0PVFrontPorch;
VideoTiming.V0BackPorch = HdmiTxPtr->Stream.Video.Timing.F0PVBackPorch;
VideoTiming.V0SyncWidth = HdmiTxPtr->Stream.Video.Timing.F0PVSyncWidth;
VideoTiming.V1FrontPorch = HdmiTxPtr->Stream.Video.Timing.F1VFrontPorch;
@ -1243,7 +1240,7 @@ void XV_HdmiTxSs_StreamStart(XV_HdmiTxSs *InstancePtr)
* @note None.
*
******************************************************************************/
void XV_HdmiTxSs_SendAudioInfoframe(XV_HdmiTxSs *InstancePtr, void *Aux)
void XV_HdmiTxSs_SendAuxInfoframe(XV_HdmiTxSs *InstancePtr, void *Aux)
{
u8 Index;
u8 Crc;

View file

@ -122,7 +122,7 @@ typedef struct
subsystem address range */
u32 HighAddress; /**< HighAddress is the physical MAX address of the
subsystem address range */
u8 MaxPixelsPerClock; /**< Maximum Supported Pixel per Clock */
XVidC_PixelsPerClock Ppc; /**< Supported Pixel per Clock */
u8 MaxBitsPerPixel; /**< Maximum Supported Color Depth */
XV_HdmiTxSs_SubCore HdcpTimer; /**< Sub-core instance configuration */
XV_HdmiTxSs_SubCore Hdcp; /**< Sub-core instance configuration */
@ -213,7 +213,7 @@ int XV_HdmiTxSs_SetCallback(XV_HdmiTxSs *InstancePtr,
int XV_HdmiTxSs_ReadEdid(XV_HdmiTxSs *InstancePtr, u8 *BufferPtr);
void XV_HdmiTxSs_ShowEdid(XV_HdmiTxSs *InstancePtr);
void XV_HdmiTxSs_StreamStart(XV_HdmiTxSs *InstancePtr);
void XV_HdmiTxSs_SendAudioInfoframe(XV_HdmiTxSs *InstancePtr, void *AuxPtr);
void XV_HdmiTxSs_SendAuxInfoframe(XV_HdmiTxSs *InstancePtr, void *AuxPtr);
void XV_HdmiTxSs_SetAudioChannels(XV_HdmiTxSs *InstancePtr, u8 AudioChannels);
void XV_HdmiTxSs_AudioMute(XV_HdmiTxSs *InstancePtr, u8 Enable);
u32 XV_HdmiTxSs_SetStream(XV_HdmiTxSs *InstancePtr,