summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-06-08 15:34:42 -0400
committerAdam Jackson <ajax@redhat.com>2009-07-17 13:33:12 -0400
commit8eb82168fc5c7ea958a4f63676738510647dd203 (patch)
tree79900dbc8beca1e11b82bc1fb90b53c535149925
parentace0fe09aee48d57cd0079260cd8d20d041e8eb6 (diff)
ddc: Give DisplayID a place to hang its hat
-rw-r--r--hw/xfree86/ddc/edid.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h
index 42ee9d15e..3feb9796f 100644
--- a/hw/xfree86/ddc/edid.h
+++ b/hw/xfree86/ddc/edid.h
@@ -538,8 +538,15 @@ struct detailed_monitor_section {
};
/* flags */
-#define EDID_COMPLETE_RAWDATA 0x1
+#define MONITOR_EDID_COMPLETE_RAWDATA 0x01
+/* old, don't use */
+#define EDID_COMPLETE_RAWDATA 0x01
+#define MONITOR_DISPLAYID 0x02
+/*
+ * For DisplayID devices, only the scrnIndex, flags, and rawData fields
+ * are meaningful. For EDID, they all are.
+ */
typedef struct {
int scrnIndex;
struct vendor vendor;