iris: Replace unconditional QBO flush with iris_dirty_for_history().
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 7 Feb 2020 04:58:40 +0000 (20:58 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 4 Apr 2022 17:32:31 +0000 (10:32 -0700)
commit03cf7888916f3348137bf0e1368f3a6026282680
tree3fcd1d3630ab6f8a33a9c5fddf751fe3f0664ff2
parent6cc09699cd77286f7601a1afab60dc9fa0bafd48
iris: Replace unconditional QBO flush with iris_dirty_for_history().

We can now use the same cache tracking mechanism for synchronizing QBO
writes instead of the unconditional PIPE_CONTROL performed currently,
which is unable to invalidate any incoherent caches which may contain
stale data for the buffer object.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15738>
src/gallium/drivers/iris/iris_query.c