summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-30 09:54:01 +1000
committerDave Airlie <airlied@redhat.com>2009-07-30 09:56:33 +1000
commit0a03220810a5fa4eec3f16c3c25bd42dd3b31f1c (patch)
tree3c79ae7d26be3a087b9b52cceacb674418b38db4 /src
parenta8225ce61a26bd310b3d649a33e9687cf9626858 (diff)
radeon: fix r600 shadow fb mode with cursor allocation in wrong place
From RHEL QE testing, we could end up with the cursor at 0 since we think EXA is in use when really it isn't. the info->useEXA = FALSe might be unnecessary but better to be explicit stable: fix slightly different Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/radeon_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 4efd2724..2321fe2e 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2057,6 +2057,9 @@ static Bool RADEONPreInitAccel(ScrnInfoPtr pScrn)
}
info->useEXA = FALSE;
+ /* if we have shadow fb bail */
+ if (info->r600_shadow_fb)
+ return TRUE;
if (info->ChipFamily >= CHIP_FAMILY_R600) {
xf86DrvMsg(pScrn->scrnIndex, X_DEFAULT,