anv: tweak performance query timeout based on number of passes
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 1 Aug 2022 14:49:39 +0000 (17:49 +0300)
committerMarge Bot <emma+marge@anholt.net>
Thu, 17 Nov 2022 12:57:06 +0000 (12:57 +0000)
commit6c2e7797f55ea9e31ccbd2c5a45e5c8983d619ab
tree691f87f7ed47439186c00ca667361a6825271891
parent56bd81ee21cb42e4a5afa2939514b570a1283754
anv: tweak performance query timeout based on number of passes

This avoids device lost events when we replay a command buffer 1k
times on DG2.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18893>
src/intel/vulkan/genX_query.c