pan/mdg: Factor out unit check
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 12 Jun 2020 21:08:19 +0000 (17:08 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 17 Jun 2020 12:57:34 +0000 (12:57 +0000)
commitbc356abea31b4727dd1363d9a3a2017135b05bd0
tree560c93d005d641eecbea571a69f46167e9bfdad3
parentde7c6950b36bb1574c3b683b0f53d9bc15fe22d0
pan/mdg: Factor out unit check

We'd like to do something a bit more complicated.

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