anv: add identifier BO
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 25 Dec 2019 21:26:48 +0000 (23:26 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 20 May 2020 15:58:22 +0000 (15:58 +0000)
commit64473fd8f7d5d72c4cdb599fc2da8a15e465344e
treefb5670a28f307001f6a6079d5f987494fa90413d
parent507b1ca10c62833b515dcbedf9ee56e3812b88cb
anv: add identifier BO

A buffer added to all execbufs so that we can attribute a batch that
caused a hang to a particular driver.

v2: Reuse workaround BO

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3203>
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/genX_cmd_buffer.c