video_common: edid: XVidC_EdidIsVpiYearModel->XVidC_EdidIsYearModel.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-01-21 12:08:19 -08:00 committed by Nava kishore Manne
parent 0009c983cd
commit 0ab91829d2
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ static void Edid_Print_BaseVPId(u8 *EdidRaw)
XVidC_EdidGetIdProdCode(EdidRaw));
xil_printf("\tID serial number:\t0x%08lx\n",
XVidC_EdidGetIdSn(EdidRaw));
if (XVidC_EdidIsVpiYearModel(EdidRaw)) {
if (XVidC_EdidIsYearModel(EdidRaw)) {
xil_printf("\tModel year:\t\t%d\n",
XVidC_EdidGetModManYear(EdidRaw));
}

View file

@ -282,7 +282,7 @@
* year. */
#define XVidC_EdidGetManWeek(E) (E[XVIDC_EDID_VPI_WEEK_MAN])
#define XVidC_EdidGetModManYear(E) (E[XVIDC_EDID_VPI_YEAR] + 1990)
#define XVidC_EdidIsVpiYearModel(E) (XVidC_EdidGetManWeek(E) == 0xFF)
#define XVidC_EdidIsYearModel(E) (XVidC_EdidGetManWeek(E) == 0xFF)
#define XVidC_EdidIsVpiYearMab(E) (XVidC_EdidGetManWeek(E) != 0xFF)
/* EDID structure version and revision. */