summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_queue.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-07-01 01:59:40 -0700
committerKenneth Graunke <[email protected]>2017-07-10 15:55:19 -0700
commit3e50607a40541de81ef008ee187c26dd03cd6c9e (patch)
tree0fbec121c78b57b7f03590c04e92dda4907a12d6 /src/intel/vulkan/anv_queue.c
parentb117f59710e62f4afa5781c554f8113e2b0df9cc (diff)
intel: Move clflush helpers from anv to common/gen_clflush.h.
I want to use these in the OpenGL driver as well. v2: Add to COMMON_FILES in Makefile.sources (caught by Emil) Reviewed-by: Daniel Vetter <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_queue.c')
-rw-r--r--src/intel/vulkan/anv_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_queue.c b/src/intel/vulkan/anv_queue.c
index fd4d36297f0..b12b2e076cd 100644
--- a/src/intel/vulkan/anv_queue.c
+++ b/src/intel/vulkan/anv_queue.c
@@ -72,7 +72,7 @@ anv_device_submit_simple_batch(struct anv_device *device,
memcpy(bo.map, batch->start, size);
if (!device->info.has_llc)
- anv_flush_range(bo.map, size);
+ gen_flush_range(bo.map, size);
exec_bos[0] = &bo;
exec2_objects[0].handle = bo.gem_handle;