mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 10:50:39 +02:00
anv/device: clflush simple batches if !LLC
This commit is contained in:
parent
42155abdd7
commit
699f21216f
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue