freedreno/ir3/postsched: try to avoid (sy) syncs
authorRob Clark <robdclark@chromium.org>
Wed, 6 May 2020 17:06:17 +0000 (10:06 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 May 2020 03:28:40 +0000 (03:28 +0000)
commit488cf208d5d90b0f3b3c346e0abb92e71597202f
tree214da276b8b15e311407347bae5756503fcfc402
parent25f4fb346e1fad34ce1f2e9e39b062a303db4ce3
freedreno/ir3/postsched: try to avoid (sy) syncs

Similar to avoidance of `(ss)` syncs, it turns out to be helpful to
avoid `(sy)` syncs as well.  This helps us turn an tex, (sy)alu, tex,
(sy)alu sequence into tex, tex, (sy)alu, alu, which is a big win in
gfxbench gl_fill2.

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