summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
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:54:01 +1000
commit447a2ce1b88aa2d6d5713e93174c4002617720f7 (patch)
treec4c8b657b9e95ed3e1f5cab520b227fd9ed4d513 /src/radeon_driver.c
parent2b9a5be3bb22fad1d52ec9eea7733c5e956250b7 (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 Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 979b1ad3..049047a2 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2103,6 +2103,12 @@ static Bool RADEONPreInitAccel(ScrnInfoPtr pScrn)
info->accel_state->has_tcl = TRUE;
}
+ /* if we have shadow fb bail */
+ if (info->r600_shadow_fb) {
+ info->useEXA = FALSE;
+ return TRUE;
+ }
+
info->useEXA = TRUE;
if (!xf86ReturnOptValBool(info->Options, OPTION_NOACCEL, FALSE)) {