summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-12-02 14:13:43 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-12-02 14:13:43 +0000
commit49d2ccab2a82083110fe796636f3f91ba8c31237 (patch)
tree079ee31b7b56bb4e072ae4ffc39a5dc5435f2136
parentb68d3646f1fdfe012c16741958c7a62136a9b5aa (diff)
uxa_prepare_access() don't force a flush.
Only the kernel knows whether the mapping requires a flush, so do not preempt it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/i830_uxa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_uxa.c b/src/i830_uxa.c
index 2227c58a..6d056c8d 100644
--- a/src/i830_uxa.c
+++ b/src/i830_uxa.c
@@ -573,7 +573,7 @@ static Bool i830_uxa_prepare_access(PixmapPtr pixmap, uxa_access_t access)
if (!list_is_empty(&priv->batch) &&
(access == UXA_ACCESS_RW || priv->batch_write_domain))
- intel_batch_flush(scrn, TRUE);
+ intel_batch_flush(scrn, FALSE);
/* No VT sema or GEM? No GTT mapping. */
if (!scrn->vtSema || bo->size > intel->max_gtt_map_size) {