Round two of anv softpin. The only notable feedback not incorporated in
the series is Chris's suggestion about embedding the vma's allocation
node in struct anv_bo; I'm leaving the allocator bit to Jason.

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

Scott D Phillips (7):
  util: Add a randomized test for the virtual memory allocator
  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

 configure.ac                                       |   1 +
 src/intel/vulkan/anv_allocator.c                   |  25 ++-
 src/intel/vulkan/anv_batch_chain.c                 | 114 ++++++----
 src/intel/vulkan/anv_device.c                      | 138 +++++++++++-
 src/intel/vulkan/anv_private.h                     | 126 +++++++++++
 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/intel/vulkan/tests/block_pool_no_free.c        |   2 +-
 src/intel/vulkan/tests/state_pool.c                |   2 +-
 src/intel/vulkan/tests/state_pool_free_list_only.c |   2 +-
 src/intel/vulkan/tests/state_pool_no_free.c        |   2 +-
 src/util/Makefile.am                               |   3 +-
 src/util/Makefile.sources                          |   4 +-
 src/util/meson.build                               |   3 +
 src/util/tests/vma/Makefile.am                     |  37 ++++
 src/util/tests/vma/meson.build                     |  29 +++
 src/util/tests/vma/vma_random_test.cpp             | 239 +++++++++++++++++++++
 src/util/vma.c                                     | 231 ++++++++++++++++++++
 src/util/vma.h                                     |  53 +++++
 21 files changed, 991 insertions(+), 60 deletions(-)
 create mode 100644 src/util/tests/vma/Makefile.am
 create mode 100644 src/util/tests/vma/meson.build
 create mode 100644 src/util/tests/vma/vma_random_test.cpp
 create mode 100644 src/util/vma.c
 create mode 100644 src/util/vma.h

-- 
2.14.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to