pan/midgard: Writeout per render target
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sat, 23 Nov 2019 21:08:02 +0000 (16:08 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Mon, 16 Dec 2019 09:10:33 +0000 (09:10 +0000)
commit60396340f5b9bef009e8bc34696a981f5e2b3ae2
treeb1bf5d78b1b9d111cfa5d7287ee464703b6ed5b2
parent281cc6f9a62ea96e982baecae0630ac368034857
pan/midgard: Writeout per render target

The flow is considerably more complicated. Instead of one writeout loop
like usual, we have a separate write loop for each render target. This
requires some scheduling shenanigans to get right.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Visoso <tomeu.vizoso@collabora.com>
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_ra.c
src/panfrost/midgard/midgard_schedule.c