UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor igork43567
Visitor
2,500 Views
Registered: ‎02-24-2016

HDMI TXSS - AVI and other Infoframes

Jump to solution

Greetings all

 

I have a system which includes HDMI TX (with its VPHY), working within Artix-7 200T.

 

The video output works very well. Sending HDMI infoframes is done by the driver of HDMI TX SS, as also is specified in PG235, page 10, "Infoframes" (version of April 5, 2017).

 

Indeed, the driver software handles the sending of AVI, GCP and VS infoframes on a callback of each VSYNC interrupt. In case of AVI, there is a function XV_HdmiTxSs_SendAviInfoframe() in file xv_hdmitxss.c which is part of the driver and the BSP, and there are no means (no visible ones, at least) to supply a user-written one. 

 

This function is quite basic. For example, data bytes 02 and 03 of the AVI infoframes are zeroed by the code, leaving no option to specify Colorimetry, Picture Aspect Ratio, Extended Colorimetry and RGB Quantization Range.

 

All the infoframe sending functions (which are declared static) are sent from within the VSYNC event callback function XV_HdmiTxSs_VsCallback().

All the callback functions (which are also all declared static) are registered by XV_HdmiTxSs_RegisterSubsysCallbacks() function. 

 

Therefore, in order to write a new function that would send a new and advanced AVI infoframe (and other functions for other infoframes), one has to write all new callback functions, because the original ones are all static and won't be seen of course from user application, then new callback registration function, which is also static, and only then the new AVI-sending function.

 

 

Changing the driver itself is quite unacceptable, because every change would be lost upon regeneration of the BSP by the SDK.

 

Perhaps there is some other and simpler (hopefully) way to do this? 

 

Thanks in advance.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
4,394 Views
Registered: ‎08-01-2007

Re: HDMI TXSS - AVI and other Infoframes

Jump to solution

Unfortunately this is a known issue.  AR 68780 describes how to modify the driver.  But as @xud mentioned, you will probably want to make a local copy of the driver in order to preserver your own changes.  But you will need to make sure you comment out the auto generated frames every time you regenerate the BSP.

 

 

Chris
Video Design Hub | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
2,489 Views
Registered: ‎08-02-2007

Re: HDMI TXSS - AVI and other Infoframes

Jump to solution

You can copy the associated IP driver, and then save it to the folder, make it a local driver, which will be used for current workspace.

 

Every time after you create a new SDK workspace, under "Xilinx Tools" menu, select "repositories", then add the path of modified driver.

 

Note the driver path should be two levels up of the folder. For example if you copy the whole v_hdmitxss_v3_1 folder from Vivado installation path to C:/drivers/sw_repo/v_hdmitxss_v3_1. The path in Local repositories should be C:/drivers

 

0 Kudos
Xilinx Employee
Xilinx Employee
4,395 Views
Registered: ‎08-01-2007

Re: HDMI TXSS - AVI and other Infoframes

Jump to solution

Unfortunately this is a known issue.  AR 68780 describes how to modify the driver.  But as @xud mentioned, you will probably want to make a local copy of the driver in order to preserver your own changes.  But you will need to make sure you comment out the auto generated frames every time you regenerate the BSP.

 

 

Chris
Video Design Hub | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos