v3d: Make sure we don't emit a thrsw before the last one finished.
authorEric Anholt <eric@anholt.net>
Wed, 1 Aug 2018 23:37:08 +0000 (16:37 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 6 Aug 2018 20:03:23 +0000 (13:03 -0700)
commitccbe33af5b086f4b488ac7ca8a8a45ebc9ac189c
treef66e3ad497a91b02227a939920c8ea23b6ca8c53
parentf9d54dc3cf45ba6f15f74627b8ec527975ce5297
v3d: Make sure we don't emit a thrsw before the last one finished.

Found while forcing some spilling, which creates a lot of short
tmua->thrsw->ldtmu sequences.

Cc: "18.2" <mesa-stable@lists.freedesktop.org>
src/broadcom/compiler/qpu_schedule.c