ac/spm: use block flags to initialize instance mapping
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Sep 2023 11:42:25 +0000 (13:42 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 18 Sep 2023 07:07:31 +0000 (07:07 +0000)
commit033e49995da6f04a52699d6549010963b18fdb5f
tree178b426900b4d56425df78e5576f7d1178a4a6e5
parent037d7d0f5bac2a31d6c709528a0c1d6edd542f5d
ac/spm: use block flags to initialize instance mapping

This simplify this a bit, ideally we would also have a per-SA flag
for performance counters.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25240>
src/amd/common/ac_spm.c