From 04cbb8d174cc5e3c7ecdd4e171170213ecb3c7ed Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 26 Mar 2005 00:53:01 +0000 Subject: 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). --- src/atiscreen.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/atiscreen.c') diff --git a/src/atiscreen.c b/src/atiscreen.c index 9f8b6982..812aa2c3 100644 --- a/src/atiscreen.c +++ b/src/atiscreen.c @@ -47,6 +47,12 @@ #include "mach64_sarea.h" #endif +#ifdef TV_OUT + +#include "atichip.h" + +#endif /* TV_OUT */ + #include "shadowfb.h" #include "xf86cmap.h" @@ -553,6 +559,12 @@ ATIScreenInit if (serverGeneration == 1) xf86ShowUnusedOptions(pScreenInfo->scrnIndex, pScreenInfo->options); +#ifdef TV_OUT + /* Fix-up TV out after ImpacTV probe */ + if (pATI->OptionTvOut && pATI->Chip < ATI_CHIP_264GTPRO) + ATISwitchMode(0, pScreenInfo->currentMode, 0); +#endif /* TV_OUT */ + #ifdef XF86DRI_DEVEL /* DRI finalization */ -- cgit v1.2.3