pan/bi: Add constant count estimates to scheduler
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sat, 6 Feb 2021 00:49:31 +0000 (19:49 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 8 Feb 2021 14:07:29 +0000 (14:07 +0000)
commite5607c8745353061dae9575b217a8a73f24e8e4d
tree966095e0d06e83de151104adbd04970b0e9b59ac
parenteb7e363688e49047e6d88d0c2052dd8eff793c27
pan/bi: Add constant count estimates to scheduler

Needed to satisfy max constant constaints. These aren't precise but
they should be a good enough approximation for now.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8354>
src/panfrost/bifrost/bi_schedule.c