iris: add identifier BO
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 24 Dec 2019 00:41:10 +0000 (02:41 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 20 May 2020 15:58:22 +0000 (15:58 +0000)
commit2a4c361b069bb84facc7e6b8ae19908505c12850
tree6aefa67bf3881f075eb02e49705fd76c6f5b22a3
parent805b32cab90547a576afba4a16b04603d355a4af
iris: 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/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_screen.c
src/gallium/drivers/iris/iris_screen.h