diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-08-14 17:55:14 +0300 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 01:24:21 +0200 |
commit | 87cf2f1874ca8a7cc492d2e2b6918ba69a8aa713 (patch) | |
tree | ac278f565376b0fee6d90184c15c26bc44bc4c92 /src/atimode.c | |
parent | 0b31333c9147af21c50493872779da12a3668e5d (diff) |
Minor refactoring of module (un)loading for TV_OUT.
Diffstat (limited to 'src/atimode.c')
-rw-r--r-- | src/atimode.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/atimode.c b/src/atimode.c index 227eea2..d455404 100644 --- a/src/atimode.c +++ b/src/atimode.c @@ -741,16 +741,17 @@ ATIModeCalculate MaxScalerClock = 80000; /* Conservative */ pATIHW->pll_vclk_cntl &= ~PLL_ECP_DIV; #ifdef TV_OUT - if (!pATI->OptionTvOut) { -#endif /* TV_OUT */ + if (pATI->OptionTvOut) { /* XXX Don't do this for TVOut! */ + } + else +#endif /* TV_OUT */ + { ECPClock = pMode->SynthClock; for (Index = 0; (ECPClock > MaxScalerClock) && (Index < 2); Index++) ECPClock >>= 1; pATIHW->pll_vclk_cntl |= SetBits(Index, PLL_ECP_DIV); -#ifdef TV_OUT } -#endif /* TV_OUT */ } else if (pATI->DAC == ATI_DAC_IBMRGB514) { |