diff options
author | Dave Airlie <airlied@redhat.com> | 2010-01-25 13:50:13 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-01-25 13:50:13 +1000 |
commit | ba99a82ced1a6101365876723d22bcfec4607537 (patch) | |
tree | 0db4d90d197b4c43a038c9a5339ed12b56b9fc6f | |
parent | de40d36264364434541377c7f65f3836dc514fc0 (diff) |
radeon/kms: only enable EXA pixmaps under kms if we support render accel
I've seen RN50s with 64MB of RAM that are slow as molasses, this
should fix them.
RH bug 556400
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | src/radeon_kms.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index c06b8328..b464b66d 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -473,7 +473,8 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags) info->exa_pixmaps = xf86ReturnOptValBool(info->Options, OPTION_EXA_PIXMAPS, - (info->vram_size > (32 * 1024 * 1024))); + ((info->vram_size > (32 * 1024 * 1024) && + info->RenderAccel))); if (info->exa_pixmaps) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "EXA: Driver will allow EXA pixmaps in VRAM\n"); |