pan/mdg: Add new depth writeout code
authorIcecream95 <ixn@keemail.me>
Sat, 6 Jun 2020 03:21:21 +0000 (15:21 +1200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 13:54:03 +0000 (13:54 +0000)
commit2f3d60c84bbad121b4507f39d50a9217ae6fc83a
treec2d7e7fa781135d7532807a9cbfc2adb7e3f43c2
parent92d3f1fe5998d64ae0154ed912c291229cc764b7
pan/mdg: Add new depth writeout code

We schedule depth writeout to smul and stencil to vlut, so scheduling
to smul has to be disabled in these cases.

When only writing stencil, scheduling to smul is still disabled to
prevent stencil writeout from being scheduled there.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5065>
src/panfrost/midgard/midgard_ra.c
src/panfrost/midgard/midgard_schedule.c