freedreno/ir3/sched: try to avoid syncs
authorRob Clark <robdclark@chromium.org>
Wed, 6 May 2020 17:29:01 +0000 (10:29 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 May 2020 03:28:40 +0000 (03:28 +0000)
commitd6706fdc46fc895b3b3d4446af3d4a9ab1e700c0
tree67494a6fa3affa03550d31e938aa6f36efc09d06
parentd95a6e3a0ca2d4a420306dd078cea05d3f21c865
freedreno/ir3/sched: try to avoid syncs

Similar to what we do in postsched.  It is useful for pre-RA sched to be
a bit aware of things that would cause syncs.  In particular for the tex
fetches, since the vecN src/dst tends to limit postsched's ability to
re-order them.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4923>
src/freedreno/ir3/ir3_sched.c