Skip to content

anv: add a new NO_LOCAL_MEM allocation flag

We found a perf regression with 9027c5df ("anv: remove the LOCAL_MEM allocation bit") which seems to be that we over subscribe local memory, leading i915 to swap things in/out too much.

This change avoid putting buffers in local memory if they are not allocated from a DEVICE_LOCAL heap.

Maybe we can revisit this later if i915 is better able to deal with more buffers in local memory.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: 9027c5df ("anv: remove the LOCAL_MEM allocation bit") Closes: #7188 (closed)

Merge request reports