pan/bi: Fix 2-write pseudo op scheduling
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 10 Feb 2021 00:46:40 +0000 (19:46 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Feb 2021 18:08:11 +0000 (18:08 +0000)
commit60cd7ff7f7a7a00322f015db86927e36b12d7daa
treebee1124821923b0f7635fdb47bd2efcfad39460b
parent214e7de90935774d6743c75c7cd1f5aa49c2f9fe
pan/bi: Fix 2-write pseudo op scheduling

These cannot schedule to the last tuple, there needs to be other work in
the last clause, or a tuple of NOP's failing that. Can occur depending
on scheduling of CUBEFACE instructions, and will apply to computational
atomics in the near future.

Fixes: 77933d16d8c ("pan/bi: Switch to new scheduler")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8962>
src/panfrost/bifrost/bi_schedule.c