freedreno/ir3: try to avoid syncs
authorRob Clark <robdclark@chromium.org>
Wed, 4 Mar 2020 17:06:51 +0000 (09:06 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Mar 2020 16:01:39 +0000 (16:01 +0000)
commit3c96e25de77b4879f54ef5727378dacf13e7e398
treed5fa4ab00c41920eca114fa7b9dd6cc8522f1358
parentcc82521de4e8e85022a5facb1b5f52d5139d3022
freedreno/ir3: try to avoid syncs

Update postsched to be better aware of where costly (ss) syncs would
result.  Sometimes it is better to allow a nop or two, to avoid a
sync quickly after an SFU.

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