ac/spm: move the counter instance to ac_spm_counter_create_info
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Sep 2023 12:23:01 +0000 (14:23 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 18 Sep 2023 07:07:32 +0000 (07:07 +0000)
commit414783162a78e75396443775d49474fb6676d1f8
tree9aa79741232c1b9430b6b1f532a22efda592a23c
parentd5a5473185aa8e56bf99448d86466526f64f3493
ac/spm: move the counter instance to ac_spm_counter_create_info

This will allow us to configure multi-instance 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
src/amd/common/ac_spm.h