etnaviv: update resource status after flushing
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 29 Nov 2019 08:44:43 +0000 (09:44 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 20 Dec 2019 11:43:23 +0000 (12:43 +0100)
commit6e75f2172b5cc9298dee6f17e55bed60ce0c15fb
tree7e12a77c20d0bc478a901a616d1279b1bff552b8
parentcabcbb4db0fcc6bc204169b1ba0deca4561e67ee
etnaviv: update resource status after flushing

Currently piglit spec@arb_occlusion_query@occlusion_query_conform
spins for ever as the resource status is never reset. See
etna_hw_get_query_result(..) for more details.

Fixes: 1456aa61cc5 ("etnaviv: Rework resource status tracking")
CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Tested-by: Marek Vasut <marex@denx.de>
src/gallium/drivers/etnaviv/etnaviv_context.c