zink: don't check submit count for unflushed usage
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 5 Oct 2023 16:56:10 +0000 (12:56 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 6 Oct 2023 05:30:22 +0000 (05:30 +0000)
commit06816cccb9eb9276158b062ef9c3a64ec0962da5
tree7d0b517903939a4beff0fe03c390ebbbf19c9023
parent548d088c26109582be9cc38153c14762ddcc6fd9
zink: don't check submit count for unflushed usage

unflushed usage is unflushed regardless of the submit count and is
critical for detecting multi-context synchronization

fixes Wolfenstein: The New Order load screen deadlock

Fixes: db12b881c7f ("zink: track/check submit info on resource batch usage")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25572>
src/gallium/drivers/zink/zink_bo.h