diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2007-02-12 14:27:37 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-02-12 14:40:38 +0200 |
commit | 482b85144fee42b6543dcc97a75899e363e05e9e (patch) | |
tree | c14e7dc7581eeb5236d9ab799edd115f3222a3a4 /src/aticonfig.c | |
parent | eda9fb15e8bc042661a91a3d8c921006dfb3ddd9 (diff) |
[mach64] Enable RENDER acceleration on the Pro variants.
Diffstat (limited to 'src/aticonfig.c')
-rw-r--r-- | src/aticonfig.c | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/src/aticonfig.c b/src/aticonfig.c index 37cc9cd0..eeb0a701 100644 --- a/src/aticonfig.c +++ b/src/aticonfig.c @@ -156,25 +156,26 @@ ATIProcessOptions xf86CollectOptions(pScreenInfo, NULL); /* Set non-zero defaults */ - { - Accel = CacheMMIO = HWCursor = TRUE; - -#ifdef TV_OUT - - TvStd = "None"; /* No tv standard change requested */ - -#endif - } + Accel = CacheMMIO = HWCursor = TRUE; ReferenceClock = ((double)157500000.0) / ((double)11.0); ShadowFB = TRUE; Blend = PanelDisplay = TRUE; + +#ifdef USE_EXA + RenderAccel = TRUE; +#endif + #ifdef XF86DRI_DEVEL DMAMode = "async"; #endif +#ifdef TV_OUT + TvStd = "None"; /* No tv standard change requested */ +#endif + xf86ProcessOptions(pScreenInfo->scrnIndex, pScreenInfo->options, PublicOption); xf86ProcessOptions(pScreenInfo->scrnIndex, pScreenInfo->options, @@ -315,9 +316,11 @@ ATIProcessOptions pATI->useEXA ? "EXA" : "XAA"); #if defined(USE_EXA) - pATI->RenderAccelEnabled = FALSE; - if (pATI->useEXA && RenderAccel) + if (pATI->useEXA && pATI->Chip >= ATI_CHIP_264GTPRO) pATI->RenderAccelEnabled = TRUE; + + if (pATI->useEXA && !RenderAccel) + pATI->RenderAccelEnabled = FALSE; #endif } |