Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/videomode Adjustments to detailed timing flags:



details:   https://anonhg.NetBSD.org/src/rev/ff4c36d5121c
branches:  trunk
changeset: 763686:ff4c36d5121c
user:      jdc <jdc%NetBSD.org@localhost>
date:      Wed Mar 30 18:49:56 2011 +0000

description:
Adjustments to detailed timing flags:
  give the stereo modes slightly better names
  correct the hsync positive and vsync positive bits (these were reversed)

diffstat:

 sys/dev/videomode/edidreg.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 6da74990961c -r ff4c36d5121c sys/dev/videomode/edidreg.h
--- a/sys/dev/videomode/edidreg.h       Wed Mar 30 18:46:32 2011 +0000
+++ b/sys/dev/videomode/edidreg.h       Wed Mar 30 18:49:56 2011 +0000
@@ -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! */



Home | Main Index | Thread Index | Old Index