etnaviv: don't flush implicit flush resources when forced
authorLucas Stach <l.stach@pengutronix.de>
Tue, 30 May 2023 22:18:57 +0000 (00:18 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 31 May 2023 09:54:39 +0000 (09:54 +0000)
commit6611866246e01d35cd5a08c82c635f1db9890637
tree1b09829fcaabec7f6dbcf5b389ef897b39a3b955
parentfbd37e61687dc7c87021c79d533818d84ee23dba
etnaviv: don't flush implicit flush resources when forced

Resources only need to become visible when the application requested
the context flush, so we can safely skip the flushing when the flush
is forced internally by running out of commandstream space.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23329>
src/gallium/drivers/etnaviv/etnaviv_context.c