diff options
author | Dave Airlie <airlied@linux.ie> | 2005-03-26 00:53:01 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-03-26 00:53:01 +0000 |
commit | 04cbb8d174cc5e3c7ecdd4e171170213ecb3c7ed (patch) | |
tree | c10f24d28e53dba3db25540f774f3ae1c98f6ab0 /src/atiscreen.c | |
parent | 5be4bf9000bdf58584a10a6b8e285d0f173304fa (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/atiscreen.c')
-rw-r--r-- | src/atiscreen.c | 12 |
1 files changed, 12 insertions, 0 deletions
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 */ |