diff options
author | Luc Verhaegen <libv@skynet.be> | 2006-01-31 14:49:43 +0000 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2006-01-31 14:49:43 +0000 |
commit | f4898b409376803c9a9dd8475bdd5576ff1cc59d (patch) | |
tree | 421c797b2ee37d27055246410faaad58987c094f /hw/xfree86/ddc/edid.h | |
parent | 437b385ce4cc3ff00e14d3d39f4a2f6c8f0c67a0 (diff) |
Further bug #5386 fixes: Fix some problems with the EDID code: Some
bitoffsets were wrong. Unknown Detailed Sections weren't handled
properly and defaulted to Detailed Timing.
Diffstat (limited to 'hw/xfree86/ddc/edid.h')
-rw-r--r-- | hw/xfree86/ddc/edid.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h index f7e7a76ba..9182fbdb0 100644 --- a/hw/xfree86/ddc/edid.h +++ b/hw/xfree86/ddc/edid.h @@ -227,9 +227,9 @@ #define STEREO _STEREO(c) #define _STEREO1(x) (x[17] & 0x1) #define STEREO1 _STEREO(c) -#define _SYNC_T(x) ((x[17] & 0x18) >> 4) +#define _SYNC_T(x) ((x[17] & 0x18) >> 3) #define SYNC_T _SYNC_T(c) -#define _MISC(x) ((x[17] & 0x06) >> 2) +#define _MISC(x) ((x[17] & 0x06) >> 1) #define MISC _MISC(c) #define _MONITOR_DESC_TYPE(x) x[3] @@ -411,6 +411,7 @@ struct detailed_timings { #define DS_WHITE_P 0xFB #define DS_STD_TIMINGS 0xFA #define DS_DUMMY 0x10 +#define DS_UNKOWN 0x100 /* type is an int */ struct monitor_ranges { int min_v; |