summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-12-20 00:25:29 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-12-20 00:25:29 +0000
commit4071dca0ef8b2b1605f16bed5c42991885a35efd (patch)
tree05d23bc988721b85635b84f60b866e080bfb3896
parent4c2a97e9d2b1073f0e4b3f7b6670939e1b1c5121 (diff)
sna: Don't mark mapping as synchronous by default
Only those that point into scratch memory need to synchronized before control is handed back to the client. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 2d0b3442..598df781 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -2398,7 +2398,6 @@ struct kgem_bo *kgem_create_map(struct kgem *kgem,
}
bo->reusable = false;
- bo->sync = true;
DBG(("%s(ptr=%p, size=%d, read_only=%d) => handle=%d\n",
__FUNCTION__, ptr, size, read_only, handle));
return bo;