gallium/u_threaded: add driver-internal flush tracking for buffer lists
authorMarek Olšák <marek.olsak@amd.com>
Thu, 29 Apr 2021 20:32:45 +0000 (16:32 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 May 2021 10:37:24 +0000 (10:37 +0000)
commit89bd06f57a11a5a80329382a42c6457ae7ed2d06
treede309d292a42dd3a44806a755dacbba24df7f431
parente9c41b321488c23b7d8ec5744f68218bac753505
gallium/u_threaded: add driver-internal flush tracking for buffer lists

This is used to track which buffer lists are associated with commands that
the driver hasn't flushed yet, so that we can consider all those buffers
busy.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10662>
src/gallium/auxiliary/util/u_threaded_context.c
src/gallium/auxiliary/util/u_threaded_context.h