panfrost/midgard: Preview for data hazards
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 27 Feb 2019 05:40:55 +0000 (05:40 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 4 Mar 2019 05:03:48 +0000 (05:03 +0000)
commit2b5cda137f84ebd73de462d19ca9cb74b280bb38
tree6266cfe488ee6956948e01d2c139b93a3ff38d98
parent93eeba623bd3e9a1b106e82f40147681c3011535
panfrost/midgard: Preview for data hazards

If a selected unit causes a data hazard, the whole block gets cut short.
So, we preview for data hazards _while_ selecting units.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.com
src/gallium/drivers/panfrost/midgard/midgard_compile.c