freedreno/tools: Fix async flush vs fdperf/computerator
authorRob Clark <robdclark@chromium.org>
Tue, 4 May 2021 16:03:43 +0000 (09:03 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 May 2021 20:32:31 +0000 (20:32 +0000)
commitb447db41fcea9048d5352bb9a1948a4552704d39
tree62e502e41bda6ca0e49f0f03531b6566a0348467
parenta1c56b80915a1105c5a62aa6ff3ac71c1edd143d
freedreno/tools: Fix async flush vs fdperf/computerator

They need to wait on the ready fence to ensure the submit has been
flushed to the kernel.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10626>
src/freedreno/computerator/main.c
src/freedreno/perfcntrs/fdperf.c