anv: Rename clflush_range and state_clflush

It's a bit shorter and easier to work with.  Also, we're about to add a
helper called clflush which does the clflush but without any memory
fencing.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Jason Ekstrand
2017-02-20 10:28:27 -08:00
parent 075ed20614
commit f9d7d27d6d
10 changed files with 29 additions and 29 deletions

View File

@@ -102,7 +102,7 @@ blorp_alloc_binding_table(struct blorp_batch *batch, unsigned num_entries,
}
if (!cmd_buffer->device->info.has_llc)
anv_state_clflush(bt_state);
anv_state_flush(bt_state);
}
static void *
@@ -126,7 +126,7 @@ blorp_flush_range(struct blorp_batch *batch, void *start, size_t size)
{
struct anv_device *device = batch->blorp->driver_ctx;
if (!device->info.has_llc)
anv_clflush_range(start, size);
anv_flush_range(start, size);
}
static void