From 482b85144fee42b6543dcc97a75899e363e05e9e Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Mon, 12 Feb 2007 14:27:37 +0200 Subject: [mach64] Enable RENDER acceleration on the Pro variants. --- src/aticonfig.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'src/aticonfig.c') 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 } -- cgit v1.2.3