intel/perf: fix counter to pass mapping
What does this MR do and why?
intel/perf: fix counter to pass mapping
Each time we mark a pass as used for a particular counter, increment the number of passes seen.
If a pass is already seen, another counter using the same pass can reuse it.
Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: 56bd81ee ("anv/perf: fixup counter/query mapping")