etnaviv: query: optimize context flushes
authorLucas Stach <l.stach@pengutronix.de>
Fri, 9 Jun 2023 17:09:21 +0000 (19:09 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sun, 11 Jun 2023 18:41:32 +0000 (18:41 +0000)
commit8e7d434b8cdcba0d7aaadcaa2686a01e4e768eba
treebcba7f45957b5caf31883628d0802689d4d89f0b
parent5ef6da21d91a2ec47b229d1a702c1095dfd084b6
etnaviv: query: optimize context flushes

Same as the transfer flushes, the flushes caused by waiting for
a query result don't need to realize context external visibility
of resource changes and can thus be a bit more lightweight.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23557>
src/gallium/drivers/etnaviv/etnaviv_query_acc.c