panfrost: Split out allow_fpk helper
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 7 Apr 2022 14:28:44 +0000 (10:28 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 7 Apr 2022 17:43:38 +0000 (17:43 +0000)
commit270e3e02f2e7c4b4ae45bf9c3accce297ac2db58
treea990f66a9b0017f554f938c25bf77f029d53080b
parentba395fc94c45f6da98f15b2e95876d76a4a2f0a4
panfrost: Split out allow_fpk helper

For sharing between Bifrost's renderer state descriptor and Valhall's draw call
descriptor, which require the same logic in different places.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15797>
src/gallium/drivers/panfrost/pan_cmdstream.c