video_common: edid: XVidC_EdidGetVpiIdManName->XVidC_EdidGetManName.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-01-21 11:46:24 -08:00 committed by Nava kishore Manne
parent 051ddc74e5
commit 1ac0efe730
3 changed files with 6 additions and 6 deletions

View file

@ -79,7 +79,7 @@ void Edid_Print_Supported_VideoModeTable(u8 *EdidRaw)
static void Edid_Print_BaseVPId(u8 *EdidRaw) static void Edid_Print_BaseVPId(u8 *EdidRaw)
{ {
char ManName[4]; char ManName[4];
XVidC_EdidGetVpiIdManName(EdidRaw, ManName); XVidC_EdidGetManName(EdidRaw, ManName);
/* Vendor and product identification. */ /* Vendor and product identification. */
xil_printf("Vendor and product identification:\n"); xil_printf("Vendor and product identification:\n");

View file

@ -69,8 +69,8 @@ static float XVidC_CalculateBinaryFraction(u16 Val, u8 DecPtIndex);
/******************************************************************************/ /******************************************************************************/
/** /**
* Get the manufacturer name as specified in the supplied base Extended Display * Get the manufacturer name as specified in the vendor and product ID field of
* Identification Data (EDID). * the supplied base Extended Display Identification Data (EDID).
* *
* @param EdidRaw is the supplied base EDID to retrieve the manufacturer * @param EdidRaw is the supplied base EDID to retrieve the manufacturer
* name from. * name from.
@ -82,7 +82,7 @@ static float XVidC_CalculateBinaryFraction(u16 Val, u8 DecPtIndex);
* @note The ManName argument is modified with the manufacturer name. * @note The ManName argument is modified with the manufacturer name.
* *
*******************************************************************************/ *******************************************************************************/
void XVidC_EdidGetVpiIdManName(u8 *EdidRaw, char ManName[4]) void XVidC_EdidGetManName(u8 *EdidRaw, char ManName[4])
{ {
ManName[0] = 0x40 + ((EdidRaw[XVIDC_EDID_VPI_ID_MAN_NAME0] & ManName[0] = 0x40 + ((EdidRaw[XVIDC_EDID_VPI_ID_MAN_NAME0] &
XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_MASK) >> XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_MASK) >>

View file

@ -265,7 +265,7 @@
!memcmp(E, "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", 8) !memcmp(E, "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", 8)
/* Vendor and product identification: ID manufacturer name. */ /* Vendor and product identification: ID manufacturer name. */
/* void XVidC_EdidGetVpiIdManName(u8 *EdidRaw, char ManName[4]); */ /* void XVidC_EdidGetManName(u8 *EdidRaw, char ManName[4]); */
/* Vendor and product identification: ID product code. */ /* Vendor and product identification: ID product code. */
#define XVidC_EdidGetVpiIdProdCode(E) \ #define XVidC_EdidGetVpiIdProdCode(E) \
@ -454,7 +454,7 @@
/**************************** Function Prototypes *****************************/ /**************************** Function Prototypes *****************************/
/* Vendor and product identification: ID manufacturer name. */ /* Vendor and product identification: ID manufacturer name. */
void XVidC_EdidGetVpiIdManName(u8 *EdidRaw, char ManName[4]); void XVidC_EdidGetManName(u8 *EdidRaw, char ManName[4]);
/* Basic display parameters and features: Video input definition. */ /* Basic display parameters and features: Video input definition. */
XVidC_ColorDepth XVidC_EdidGetColorDepth(u8 *EdidRaw); XVidC_ColorDepth XVidC_EdidGetColorDepth(u8 *EdidRaw);