zink: add a param to check_batch_completion for toggling lock-taking
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 9 Jun 2021 18:12:13 +0000 (14:12 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 22 Jul 2021 00:22:24 +0000 (00:22 +0000)
commit0dc77c8aa537fbea4ebfc2ceb49a4df6843901cd
tree1dcbdc86b2899e10c210776d23ee7b061feb7a6c
parente7f958d841356d338a4d7bb68f8366f9b74a6546
zink: add a param to check_batch_completion for toggling lock-taking

need this to avoid deadlocks

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11965>
src/gallium/drivers/zink/zink_batch.c
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_context.h