pan/midgard: Add mir_choose_bundle helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sun, 22 Sep 2019 13:01:07 +0000 (09:01 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 30 Sep 2019 12:40:13 +0000 (08:40 -0400)
commit72a03bcafae8903339329ee74ba4cdd0c75b2814
tree071cf610481d885acbae0c9ee02d5d3255238281
parentb5396369d2f4cc4bbff3bd2bf0639257ffb6fde5
pan/midgard: Add mir_choose_bundle helper

It's not always obvious what the optimal bundle type should be. Let's
break out the logic to decide.

Currently set for purely in-order operation.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/midgard_schedule.c