From 4071dca0ef8b2b1605f16bed5c42991885a35efd Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 20 Dec 2011 00:25:29 +0000 Subject: 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 --- src/sna/kgem.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3