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>
This commit is contained in:
Chris Wilson 2011-12-20 00:25:29 +00:00
parent 4c2a97e9d2
commit 4071dca0ef
1 changed files with 0 additions and 1 deletions

View File

@ -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;