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 <daniel.vetter@ffwll.ch> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user