summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_batch_chain.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_batch_chain.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_batch_chain.c')
-rw-r--r--src/intel/vulkan/anv_batch_chain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_batch_chain.c b/src/intel/vulkan/anv_batch_chain.c
index 9776a45b917..47fee7398f7 100644
--- a/src/intel/vulkan/anv_batch_chain.c
+++ b/src/intel/vulkan/anv_batch_chain.c
@@ -1091,7 +1091,7 @@ write_reloc(const struct anv_device *device, void *p, uint64_t v, bool flush)
}
if (flush && !device->info.has_llc)
- anv_flush_range(p, reloc_size);
+ gen_flush_range(p, reloc_size);
}
static void