summaryrefslogtreecommitdiff
path: root/src/rhd.h
diff options
context:
space:
mode:
authorEgbert Eich <eich@freedesktop.org>2008-01-16 10:25:06 +0100
committerEgbert Eich <eich@freedesktop.org>2008-03-12 21:29:53 +0100
commit47298a34699d9c81ba61e5d829279253e193d3bf (patch)
tree71741df3dbbf2e858c1d279ae2fd03d7e3e2ae33 /src/rhd.h
parent2d42e5b7c8e826771c38c19d7418c3ab0e07a667 (diff)
Add support for sensing and programming different analog outputs.
In this event clean up handling of analog output norm handling and AtomBIOS fixed mode retrieval.
Diffstat (limited to 'src/rhd.h')
-rw-r--r--src/rhd.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/rhd.h b/src/rhd.h
index e3e1d35..eb59739 100644
--- a/src/rhd.h
+++ b/src/rhd.h
@@ -95,6 +95,19 @@ enum RHD_HPD_USAGE {
RHD_HPD_USAGE_AUTO_OFF
};
+enum RHD_TV_MODE {
+ RHD_TV_NONE = 0,
+ RHD_TV_NTSC = 1,
+ RHD_TV_NTSCJ = 1 << 2,
+ RHD_TV_PAL = 1 << 3,
+ RHD_TV_PALM = 1 << 4,
+ RHD_TV_PALCN = 1 << 5,
+ RHD_TV_PALN = 1 << 6,
+ RHD_TV_PAL60 = 1 << 7,
+ RHD_TV_SECAM = 1 << 8,
+ RHD_TV_CV = 1 << 9
+};
+
#define RHD_CONNECTORS_MAX 4
/* Just define where which PCI BAR lives for now. Will deal with different
@@ -215,8 +228,8 @@ typedef struct RHDRec {
/* don't ignore the Monitor section of the conf file */
struct rhdMonitor *ConfigMonitor;
-
- rhdShadowPtr shadowPtr;
+ enum RHD_TV_MODE tvMode;
+ rhdShadowPtr shadowPtr;
struct _XAAInfoRec *XAAInfo;
#ifdef USE_EXA