v3d: Don't forget to wait for our TFU job before rendering from it.
authorEric Anholt <eric@anholt.net>
Fri, 14 Dec 2018 17:43:15 +0000 (09:43 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 15 Dec 2018 01:48:01 +0000 (17:48 -0800)
commite731d537161c33aebcfd8a7aca6154919ca4c60f
tree89c398fc81643203eca0161d2ade0650735bddac
parent153d3fc5f9348d361b85ec0fcfe4c1a8d14fa385
v3d: Don't forget to wait for our TFU job before rendering from it.

Otherwise we may race to read old contents.  This didn't show up in the
CTS and piglit for me, but it did once I started using the TFU to do
linear->UIF blits for X11.

Fixes: 2ebca177dc18 ("v3d: Use the TFU to do generatemipmap.")
src/gallium/drivers/v3d/v3d_job.c