Adjustments to detailed timing flags:

give the stereo modes slightly better names
  correct the hsync positive and vsync positive bits (these were reversed)
This commit is contained in:
jdc 2011-03-30 18:49:56 +00:00
parent 072e39a71f
commit 22fb3929ef
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: edidreg.h,v 1.2 2006/05/13 00:39:19 gdamore Exp $ */
/* $NetBSD: edidreg.h,v 1.3 2011/03/30 18:49:56 jdc Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -203,11 +203,11 @@
#define EDID_DET_TIMING_VBORDER(ptr) ((ptr)[16])
#define EDID_DET_TIMING_FLAGS(ptr) ((ptr)[17])
#define EDID_DET_TIMING_FLAG_INTERLACE 0x80
#define EDID_DET_TIMING_FLAG_STEREO 0x60 /* wtf? */
#define EDID_DET_TIMING_FLAG_STEREO 0x60 /* stereo or not */
#define EDID_DET_TIMING_FLAG_SYNC_SEPARATE 0x18
#define EDID_DET_TIMING_FLAG_HSYNC_POSITIVE 0x04
#define EDID_DET_TIMING_FLAG_VSYNC_POSITIVE 0x02
#define EDID_DET_TIMING_FLAG_STEREO1 0x01 /* wtf? */
#define EDID_DET_TIMING_FLAG_VSYNC_POSITIVE 0x04
#define EDID_DET_TIMING_FLAG_HSYNC_POSITIVE 0x02
#define EDID_DET_TIMING_FLAG_STEREO_MODE 0x01 /* stereo mode */
/* N.B.: these tests assume that we already checked for detailed timing! */