[Mesa-dev] [PATCH 0/2] anv: add capture flags to instruction/batch BOs

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Nov 17 17:47:58 UTC 2017


Hi,

We do the same things in i965 to notify the kernel about buffers of
interest in case of GPU hang. Let's do it in Anv too!

Cheer,

Lionel Landwerlin (2):
  anv: setup BO flags at state_pool/block_pool creation
  anv: flag batch & instruction BOs for capture

 src/intel/vulkan/anv_allocator.c                   | 24 ++++++++++++----------
 src/intel/vulkan/anv_device.c                      | 20 ++++++++++++++----
 src/intel/vulkan/anv_private.h                     | 14 ++++++++++---
 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 +-
 7 files changed, 44 insertions(+), 22 deletions(-)

--
2.15.0


More information about the mesa-dev mailing list