projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42155ab
)
anv/device: clflush simple batches if !LLC
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 12 Feb 2016 19:00:42 +0000
(11:00 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 12 Feb 2016 19:00:42 +0000
(11:00 -0800)
src/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_device.c
b/src/vulkan/anv_device.c
index 0ff5c9f7aa9758eed22ae39c7c7b9f33771cecff..05303fe1ca629f379cd8de9eefdd41a75f26b947 100644
(file)
--- a/
src/vulkan/anv_device.c
+++ b/
src/vulkan/anv_device.c
@@
-707,6
+707,8
@@
anv_device_submit_simple_batch(struct anv_device *device,
return result;
memcpy(bo.map, batch->start, size);
+ if (!device->info.has_llc)
+ anv_clflush_range(bo.map, size);
exec2_objects[0].handle = bo.gem_handle;
exec2_objects[0].relocation_count = 0;