diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-08-12 22:12:07 +0300 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2006-08-12 22:12:07 +0300 |
commit | 43aaed99950640c3695b3c2b91faabf00c6338a7 (patch) | |
tree | 0735716525b04472bf96c9cd9ffcca09c4e97c70 /src/aticonfig.c | |
parent | d113f40fd97408661193895ff3aa82262f100143 (diff) |
[mach64] RENDER support (bug #6877).
RENDER accleration is disabled by default. It is strongly recommended that the
patch from bug #6772 and the 'exa-damagetrack branch' are merged in the xserver
before enabling RENDER acceleration. To enable RENDER acceleration, add the
following in xorg.conf:
Section "Device"
[...]
Option "AccelMethod" "exa"
Option "RenderAccel" "true"
EndSection
Diffstat (limited to 'src/aticonfig.c')
-rw-r--r-- | src/aticonfig.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/aticonfig.c b/src/aticonfig.c index dffabc77..d0a3677b 100644 --- a/src/aticonfig.c +++ b/src/aticonfig.c @@ -154,6 +154,7 @@ ATIProcessOptions # define ShadowFB PublicOption[ATI_OPTION_SHADOW_FB].value.bool # define SWCursor PublicOption[ATI_OPTION_SWCURSOR].value.bool # define AccelMethod PublicOption[ATI_OPTION_ACCELMETHOD].value.str +# define RenderAccel PublicOption[ATI_OPTION_RENDER_ACCEL].value.bool # define LCDSync PrivateOption[ATI_OPTION_LCDSYNC].value.bool # define ReferenceClock \ @@ -360,6 +361,12 @@ ATIProcessOptions xf86DrvMsg(pScreenInfo->scrnIndex, from, "Using %s acceleration architecture\n", pATI->useEXA ? "EXA" : "XAA"); + + pATI->RenderAccelEnabled = FALSE; +#if defined(USE_EXA) + if (pATI->useEXA && RenderAccel) + pATI->RenderAccelEnabled = TRUE; +#endif } xfree(PublicOption); |