Skip to content
Browse files

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
  • Loading branch information...
1 parent 953d310 commit 7aedc8b3e1187d4868bafc9a948c91f2a8bb0b6f @billr1 billr1 committed with kallisti5
Showing with 10 additions and 2 deletions.
  1. +10 −2 headers/private/graphics/common/edid_raw.h
View
12 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;

0 comments on commit 7aedc8b

Please sign in to comment.
Something went wrong with that request. Please try again.