From 7aedc8b3e1187d4868bafc9a948c91f2a8bb0b6f Mon Sep 17 00:00:00 2001 From: Bill Randle Date: Sun, 27 Jan 2013 11:59:19 -0600 Subject: [PATCH] edid_raw: Correct missing bitfield * edid1_detailed_timing_raw was missing a field which threw off the sync bits. * The result was the monitor will receive a different sync polarity than it requested. Most monitors handle this, but it is still a bug --- headers/private/graphics/common/edid_raw.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/headers/private/graphics/common/edid_raw.h b/headers/private/graphics/common/edid_raw.h index 5473d2341a..ee553a7a1c 100644 --- a/headers/private/graphics/common/edid_raw.h +++ b/headers/private/graphics/common/edid_raw.h @@ -1,6 +1,13 @@ /* * Copyright 2003, Thomas Kurschel. All Rights Reserved. * Distributed under the terms of the MIT License. + * + * Copyright 2006-2013 Haiku, Inc. All rights reserved. + * Distributed under the terms of the MIT License. + * + * Authors: + * Thomas Kurschel + * Bill Randle, billr@neocat.org */ #ifndef _EDID_RAW_H #define _EDID_RAW_H @@ -224,12 +231,13 @@ typedef struct _PACKED { ); uint8 h_border; uint8 v_border; - BBITFIELD8_4 ( + BBITFIELD8_5 ( interlaced : 1, stereo : 2, // upper bit set - left on sync // lower bit set - right on sync sync : 2, - misc : 2 + misc : 2, + stereo_il : 1 ); } edid1_detailed_timing_raw;