video_common: edid: XVidC_EdidIsVpiYearModel->XVidC_EdidIsYearModel.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
0009c983cd
commit
0ab91829d2
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue