MODIFICATION HISTORY:
Ver Who Date Changes ----- ---- -------- ----------------------------------------------- 1.00a als 05/17/14 Initial release.
#include "xdptx.h"
#include "xdptx_hw.h"
#include "xstatus.h"
Functions | |
void | XDptx_CfgMsaRecalculate (XDptx *InstancePtr) |
u32 | XDptx_CfgMsaUseStandardVideoMode (XDptx *InstancePtr, XDptx_VideoMode VideoMode) |
void | XDptx_CfgMsaUseEdidPreferredTiming (XDptx *InstancePtr) |
void | XDptx_CfgMsaUseCustom (XDptx *InstancePtr, XDptx_MainStreamAttributes *MsaConfigCustom, u8 Recalculate) |
u32 | XDptx_CfgMsaSetBpc (XDptx *InstancePtr, u8 BitsPerColor) |
void | XDptx_SetVideoMode (XDptx *InstancePtr) |
void XDptx_CfgMsaRecalculate | ( | XDptx * | InstancePtr | ) |
This function calculates the following main stream attributes:
InstancePtr | is a pointer to the XDptx instance. |
u32 XDptx_CfgMsaSetBpc | ( | XDptx * | InstancePtr, | |
u8 | BitsPerColor | |||
) |
This function sets the bits per color value of the video stream.
InstancePtr | is a pointer to the XDptx instance | |
BitsPerColor | is the new number of bits per color to use. |
void XDptx_CfgMsaUseCustom | ( | XDptx * | InstancePtr, | |
XDptx_MainStreamAttributes * | MsaConfigCustom, | |||
u8 | Recalculate | |||
) |
This function takes a the main stream attributes from MsaConfigCustom and copies them into InstancePtr->MsaConfig. If desired, given a base set of attributes, the rest of the attributes may be derived. The minimal required main stream attributes that must be contained in the MsaConfigCustom structure are:
InstancePtr | is a pointer to the XDptx instance. | |
MsaConfigCustom | is the structure that will be used to copy the main stream attributes from (into InstancePtr->MsaConfig). | |
Recalculate | is a boolean enable that determines whether or not the main stream attributes should be recalculated. |
void XDptx_CfgMsaUseEdidPreferredTiming | ( | XDptx * | InstancePtr | ) |
This function sets the main stream attribute values in the configuration structure to match the preferred timing of the sink monitor. This preferred timing information is stored in the sink's extended display identification data (EDID).
InstancePtr | is a pointer to the XDptx instance |
u32 XDptx_CfgMsaUseStandardVideoMode | ( | XDptx * | InstancePtr, | |
XDptx_VideoMode | VideoMode | |||
) |
This function sets the main stream attribute values in the configuration structure to match one of the standard display mode timings from the XDptx_DmtModes[] table. THe XDptx_VideoMode enumeration in xdptx.h lists the available video modes.
InstancePtr | is a pointer to the XDptx instance. | |
VideoMode | is one of the enumerated standard video modes that is used to determine the main stream attributes to be used. |
void XDptx_SetVideoMode | ( | XDptx * | InstancePtr | ) |
This function clears the main stream attributes registers of the DisplayPort TX core and sets them to the values specified in the main stream attributes configuration structure.
InstancePtr | is a pointer to the XDptx instance |
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.