video_common: edid: XVidC_EdidGetVpiWeekMan->XVidC_EdidGetManWeek.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
ec845b6dc6
commit
bad0f38ab4
2 changed files with 5 additions and 5 deletions
|
@ -92,14 +92,14 @@ static void Edid_Print_BaseVPId(u8 *EdidRaw)
|
||||||
xil_printf("\tModel year:\t\t%d\n",
|
xil_printf("\tModel year:\t\t%d\n",
|
||||||
XVidC_EdidGetVpiYear(EdidRaw));
|
XVidC_EdidGetVpiYear(EdidRaw));
|
||||||
}
|
}
|
||||||
else if (XVidC_EdidGetVpiWeekMan(EdidRaw) == 0x00) {
|
else if (XVidC_EdidGetManWeek(EdidRaw) == 0x00) {
|
||||||
xil_printf("\tManufactured:\t\tYear = %d ; Week N/A\n",
|
xil_printf("\tManufactured:\t\tYear = %d ; Week N/A\n",
|
||||||
XVidC_EdidGetVpiYear(EdidRaw));
|
XVidC_EdidGetVpiYear(EdidRaw));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
xil_printf("\tManufactured:\t\tYear = %d ; Week = %d\n",
|
xil_printf("\tManufactured:\t\tYear = %d ; Week = %d\n",
|
||||||
XVidC_EdidGetVpiYear(EdidRaw),
|
XVidC_EdidGetVpiYear(EdidRaw),
|
||||||
XVidC_EdidGetVpiWeekMan(EdidRaw));
|
XVidC_EdidGetManWeek(EdidRaw));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -280,10 +280,10 @@
|
||||||
|
|
||||||
/* Vendor and product identification: Week and year of manufacture or model
|
/* Vendor and product identification: Week and year of manufacture or model
|
||||||
* year. */
|
* year. */
|
||||||
#define XVidC_EdidGetVpiWeekMan(E) (E[XVIDC_EDID_VPI_WEEK_MAN])
|
#define XVidC_EdidGetManWeek(E) (E[XVIDC_EDID_VPI_WEEK_MAN])
|
||||||
#define XVidC_EdidGetVpiYear(E) (E[XVIDC_EDID_VPI_YEAR] + 1990)
|
#define XVidC_EdidGetVpiYear(E) (E[XVIDC_EDID_VPI_YEAR] + 1990)
|
||||||
#define XVidC_EdidIsVpiYearModel(E) (XVidC_EdidGetVpiWeekMan(E) == 0xFF)
|
#define XVidC_EdidIsVpiYearModel(E) (XVidC_EdidGetManWeek(E) == 0xFF)
|
||||||
#define XVidC_EdidIsVpiYearMab(E) (XVidC_EdidGetVpiWeekMan(E) != 0xFF)
|
#define XVidC_EdidIsVpiYearMab(E) (XVidC_EdidGetManWeek(E) != 0xFF)
|
||||||
|
|
||||||
/* EDID structure version and revision. */
|
/* EDID structure version and revision. */
|
||||||
#define XVidC_EdidGetStructVer(E) (E[XVIDC_EDID_STRUCT_VER])
|
#define XVidC_EdidGetStructVer(E) (E[XVIDC_EDID_STRUCT_VER])
|
||||||
|
|
Loading…
Add table
Reference in a new issue