dp14txss
Vitis Drivers API Documentation
xdptxss_dptx.c File Reference

Overview

This file contains a minimal set of functions for the DisplayPort core to configure in TX mode of operation.

MODIFICATION HISTORY:
Ver  Who Date     Changes


1.00 sha 01/29/15 Initial release. 1.00 sha 07/21/15 Renamed file name with prefix xdptxss_* and function names with prefix XDpTxSs_*. 2.00 sha 08/07/15 Added support for customized main stream attributes for Single Steam Transport and Multi-Stream Transport. 2.00 sha 09/28/15 Removed cross checking user set resolution with RX EDID. 4.0 aad 05/13/16 Use asynchronous clock mode by default. 5.0 tu 08/03/17 Enabled video packing for bpc > 10 5.0 aad 09/08/17 Case to handle HTotal > 4095, PPC = 1 in AXIStream Mode. 6.4 rg 09/26/20 Added support for YUV420 color format.

 

Functions

u32 XDpTxSs_DpTxStart (XDp *InstancePtr, u8 TransportMode, u8 Bpc, XVidC_VideoMode VidMode)
 This function configures DisplayPort sub-core with preferred resolution read from sink or user set resolution, bits per color in SST/MST mode. More...
 
u32 XDpTxSs_DpTxStartLink (XDp *InstancePtr, u8 TrainMaxCap)
 This function checks if the link needs training and runs the training sequence if training is required based on the flags, indicates to use maximum RX capabilities or user specified link rate, lane count during training. More...
 

Function Documentation

u32 XDpTxSs_DpTxStart ( XDp *  InstancePtr,
u8  TransportMode,
u8  Bpc,
XVidC_VideoMode  VidMode 
)

This function configures DisplayPort sub-core with preferred resolution read from sink or user set resolution, bits per color in SST/MST mode.

In MST mode, if sinks are more than two, it re-orders the sinks if belongs to same tiled display topology. It trains the link and allocates stream payloads for single stream (SST) or multi-stream transport mode (MST). In MST mode, discovers the topology and finds the actual number of sinks to which associates streams.

Parameters
InstancePtris a pointer to the XDp instance.
TransportModespecifies whether multiple/single steam to be sent over the main link.
  • TransportMode = 1 (for Multi-Stream Transport)
  • TransportMode = 0 (for Single Stream Transport)
Bpcis the new number of bits per color to use.
VidModeis one of the enumerated standard video modes defined in xvidc.h file.
Returns
  • XST_SUCCESS DisplayPort configured successfully.
  • XST_FAILURE if DisplayPort configuration failed.
Note
None.

References XDPTXSS_DPTX_MST, XDPTXSS_DPTX_SST, and XDpTxSs_DpTxStartLink().

Referenced by XDpTxSs_Start(), and XDpTxSs_StartCustomMsa().

u32 XDpTxSs_DpTxStartLink ( XDp *  InstancePtr,
u8  TrainMaxCap 
)

This function checks if the link needs training and runs the training sequence if training is required based on the flags, indicates to use maximum RX capabilities or user specified link rate, lane count during training.

Parameters
InstancePtris a pointer to the XDp instance.
TrainMaxCapis a flag indicates whether maximum capabilities to be used during link training.
  • TRUE - Use maximum RX capabilities.
  • FALSE - Use custom capabilities.
Returns
  • XST_SUCCESS the if main link was successfully established.
  • XST_FAILURE otherwise.
Note
None.

Referenced by XDpTxSs_DpTxStart().