panfrost: Move sysval_to_id out of panfrost_sysvals
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 12 Feb 2021 16:49:23 +0000 (17:49 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Feb 2021 11:23:46 +0000 (11:23 +0000)
commit72d14f8b6f76b34b2d40d33d672337d1e5ab8f47
tree5f29aa81c69f796d63b880f843fc0c0f3f343edc
parent8d7eda9c9558593e9900eed0b5edc7a106664028
panfrost: Move sysval_to_id out of panfrost_sysvals

So we can re-use the panfrost_sysvals definition outside of the
compiler without dragging the sysval_to_id hash table.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8963>
src/panfrost/bifrost/bifrost_compile.c
src/panfrost/bifrost/compiler.h
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_compile.c
src/panfrost/util/pan_ir.h
src/panfrost/util/pan_sysval.c