summaryrefslogtreecommitdiff
path: root/src/i830_accel.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-06-18 00:32:01 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-06-18 00:32:01 -0700
commitf2ab3aa3199e1c4b0edec72b5acea6d725cc514a (patch)
tree06d3753529244534ae2873f202013b8f9ac6d70f /src/i830_accel.c
parentbc42dbe07cbd61b357d8eed02608e026c4cf4485 (diff)
Fix DRI in EXA mode: Don't attempt to use XAA symbols (use the driver's internal
ones for EXA support when available). Also, add an abstraction of XAA/EXA MarkSync and WaitSync functionality so we don't need to sprinkle the ifdefs all over, and correctly use them.
Diffstat (limited to 'src/i830_accel.c')
-rw-r--r--src/i830_accel.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c
index a1a64880..f2993985 100644
--- a/src/i830_accel.c
+++ b/src/i830_accel.c
@@ -208,10 +208,7 @@ I830RefreshRing(ScrnInfoPtr pScrn)
pI830->LpRing->space = pI830->LpRing->head - (pI830->LpRing->tail + 8);
if (pI830->LpRing->space < 0)
pI830->LpRing->space += pI830->LpRing->mem.Size;
-#ifdef I830_USE_XAA
- if (pI830->AccelInfoRec)
- pI830->AccelInfoRec->NeedToSync = TRUE;
-#endif
+ i830MarkSync(pScrn);
}
/* The following function sets up the supported acceleration. Call it