pan/bi: Move bi_constant_field to bifrost.h
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 5 Feb 2021 23:12:59 +0000 (18:12 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 8 Feb 2021 14:07:29 +0000 (14:07 +0000)
commit649e45234f1f1a242866b39877cb015aca9f68c7
treef28a60f61361218fa7fa5b9b1fb7add926aaebc7
parentee78628f786f834216b1e91ef43ca82fd41ca1ca
pan/bi: Move bi_constant_field to bifrost.h

It's a hardware invariant, and useful for the scheduler (not just
packing).

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_pack.c
src/panfrost/bifrost/bifrost.h