[Mesa-dev] [PATCH 0/9] anv: softpin

Scott D Phillips scott.d.phillips at intel.com
Wed May 2 16:01:00 UTC 2018


This series teaches anv how to pick its own virtual graphics addresses
instead of using the relocation facility provided by the kernel.

Jason Ekstrand (1):
  util: Add a virtual memory allocator

Scott D Phillips (8):
  util/set: add a set_clear function
  anv: remove unused field anv_queue::pool
  anv: move canonical_address calculation into a separate function
  anv: Add vma_heap allocators in anv_device
  anv: soft pin state pools
  anv: use a separate pool for binding tables when soft pinning
  anv: elide relocations to pinned target bos
  anv: soft pin the remaining bos

 src/intel/vulkan/anv_allocator.c   |  41 ++++++-
 src/intel/vulkan/anv_batch_chain.c |  96 +++++++++------
 src/intel/vulkan/anv_device.c      | 143 +++++++++++++++++++++--
 src/intel/vulkan/anv_private.h     |  85 +++++++++++++-
 src/intel/vulkan/anv_queue.c       |   2 +-
 src/intel/vulkan/genX_blorp_exec.c |   6 +
 src/intel/vulkan/genX_cmd_buffer.c |  26 ++++-
 src/intel/vulkan/genX_query.c      |   6 +
 src/util/Makefile.sources          |   4 +-
 src/util/meson.build               |   2 +
 src/util/set.c                     |  23 ++++
 src/util/set.h                     |   3 +
 src/util/vma.c                     | 231 +++++++++++++++++++++++++++++++++++++
 src/util/vma.h                     |  53 +++++++++
 14 files changed, 668 insertions(+), 53 deletions(-)
 create mode 100644 src/util/vma.c
 create mode 100644 src/util/vma.h

-- 
2.14.3



More information about the mesa-dev mailing list