freedreno/a6xx: Sync TFB BO access against prior TFB writes.
authorEmma Anholt <emma@anholt.net>
Wed, 18 Aug 2021 20:30:57 +0000 (13:30 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Aug 2021 23:27:15 +0000 (23:27 +0000)
commite6776148c103fa965752a0a866b688a8d9a84bef
treed856feafd0b7a6356a7712bc217ed42e1e24123f
parent83e9a7fbcf53b90d0de66985dbbf91986fc7b05d
freedreno/a6xx: Sync TFB BO access against prior TFB writes.

CTS draw_indirect usage of TFB output was flaking due to the TFB writes
possibly not having completed.  Since GL TFB doesn't require any other
barrier between TFB and use of the BO (as seen by the CTS not emitting any
memory barrier), we have to do it ourselves.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12457>
src/freedreno/ci/deqp-freedreno-a630-fails.txt
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/ci/piglit-freedreno-a630-fails.txt