anv: fixup locking for utrace submission increments
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 18 Mar 2023 21:47:01 +0000 (23:47 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 24 Mar 2023 07:38:13 +0000 (09:38 +0200)
commitbecfbb2a19f9c48f5bc1d6f4917415d6a4c376db
tree383beece83fbf3ff24d245df803f101e47fbb06a
parent87a1d6423c6aac06ade993f4c3b81247b91d0a5c
anv: fixup locking for utrace submission increments

This is supposed to happen under the device lock.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: e760c5b37b ("anv: add perfetto source")
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22006>
src/intel/vulkan/anv_batch_chain.c