sna: Submit execution on the bo before changing its caching status

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-11-05 18:36:45 +00:00
parent 10b573c508
commit 723f17ca4f
1 changed files with 2 additions and 0 deletions

View File

@ -6551,6 +6551,8 @@ bool kgem_bo_convert_to_gpu(struct kgem *kgem, struct kgem_bo *bo)
assert(bo->snoop);
kgem_bo_submit(kgem, bo);
if (!gem_set_caching(kgem->fd, bo->handle, UNCACHED))
return false;