summaryrefslogtreecommitdiff
path: root/src/atioption.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atioption.c')
-rw-r--r--src/atioption.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/atioption.c b/src/atioption.c
index 24536fcc..2b97abf5 100644
--- a/src/atioption.c
+++ b/src/atioption.c
@@ -30,6 +30,28 @@
#include "radeon_probe.h"
#include "r128_probe.h"
+#ifdef TV_OUT
+
+/*
+ * List of supported TV standard names
+ */
+const char *ATITVStandardNames[ATI_TV_STDS_MAX_VALID+1] = {
+ "NTSC",
+ "PAL",
+ "PAL-M",
+ "PAL-60",
+ "NTSC-J",
+ "PAL-CN",
+ "PAL-N",
+ "Reserved1",
+ "Reserved2",
+ "SCART-PAL",
+ "None",
+ "Invalid"
+};
+
+#endif /* TV_OUT */
+
/*
* Recognised XF86Config options.
*/
@@ -123,6 +145,24 @@ const OptionInfoRec ATIPublicOptions[] =
#endif /* XF86DRI_DEVEL */
+#ifdef TV_OUT
+ {
+ ATI_OPTION_TV_OUT,
+ "tv_out",
+ OPTV_BOOLEAN,
+ {0, },
+ FALSE
+ },
+ {
+ ATI_OPTION_TV_STD,
+ "tv_standard",
+ OPTV_STRING,
+ {0, },
+ FALSE
+ },
+
+#endif /* TV_OUT */
+
{
ATI_OPTION_MMIO_CACHE,
"mmio_cache",