diff options
author | Egbert Eich <eich@freedesktop.org> | 2008-01-16 10:25:06 +0100 |
---|---|---|
committer | Egbert Eich <eich@freedesktop.org> | 2008-03-12 21:29:53 +0100 |
commit | 47298a34699d9c81ba61e5d829279253e193d3bf (patch) | |
tree | 71741df3dbbf2e858c1d279ae2fd03d7e3e2ae33 /src/rhd.h | |
parent | 2d42e5b7c8e826771c38c19d7418c3ab0e07a667 (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.h | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -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 |