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:
parent
10b573c508
commit
723f17ca4f
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue