summaryrefslogtreecommitdiff
path: root/src/atioption.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-03-26 00:53:01 +0000
committerDave Airlie <airlied@linux.ie>2005-03-26 00:53:01 +0000
commit04cbb8d174cc5e3c7ecdd4e171170213ecb3c7ed (patch)
treec10f24d28e53dba3db25540f774f3ae1c98f6ab0 /src/atioption.h
parent5be4bf9000bdf58584a10a6b8e285d0f173304fa (diff)
bugzilla #2057 (https://bugs.freedesktop.org/show_bug.cgi?id=2057)
attachment #1516 (https://bugs.freedesktop.org/attachment.cgi?id=1516) Add TVOUT Support for Mach64 (Leif Delgass, fixed up for Xorg by me).
Diffstat (limited to 'src/atioption.h')
-rw-r--r--src/atioption.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/atioption.h b/src/atioption.h
index 85970796..51778a4c 100644
--- a/src/atioption.h
+++ b/src/atioption.h
@@ -56,6 +56,13 @@ typedef enum
#endif /* XF86DRI_DEVEL */
+#ifdef TV_OUT
+
+ ATI_OPTION_TV_OUT,
+ ATI_OPTION_TV_STD,
+
+#endif /* TV_OUT */
+
ATI_OPTION_MMIO_CACHE,
ATI_OPTION_TEST_MMIO_CACHE,
ATI_OPTION_PANEL_DISPLAY,
@@ -65,6 +72,30 @@ typedef enum
ATI_OPTION_SWCURSOR
} ATIPublicOptionType;
+#ifdef TV_OUT
+
+#define ATI_TV_STDS_MAX_VALID 11
+#define ATI_TV_STDS_NAME_MAXLEN 9
+
+typedef enum {
+ ATI_TV_STD_NTSC = 0,
+ ATI_TV_STD_PAL,
+ ATI_TV_STD_PALM,
+ ATI_TV_STD_PAL60,
+ ATI_TV_STD_NTSCJ,
+ ATI_TV_STD_PALCN,
+ ATI_TV_STD_PALN,
+ ATI_TV_STD_RESERVED1, /* NOT usable */
+ ATI_TV_STD_RESERVED2, /* NOT usable */
+ ATI_TV_STD_SCARTPAL,
+ ATI_TV_STD_NONE, /* OK, means no tv standard change requested */
+ ATI_TV_STD_INVALID /* Invalid tv standard requested */
+} ATITVStandard;
+
+extern const char * ATITVStandardNames[];
+
+#endif /* TV_OUT */
+
extern const OptionInfoRec ATIPublicOptions[];
extern const unsigned long ATIPublicOptionSize;