intel/perf: add support for dualsubslice count variable
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 23 Jun 2021 14:53:15 +0000 (17:53 +0300)
committerMarge Bot <emma+marge@anholt.net>
Tue, 17 May 2022 19:55:10 +0000 (19:55 +0000)
This is the same as the subslice count.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16144>

src/intel/perf/gen_perf.py

index 30cf683..6a3b2d1 100644 (file)
@@ -212,6 +212,7 @@ hw_vars = {}
 hw_vars["$EuCoresTotalCount"] = "perf->sys_vars.n_eus"
 hw_vars["$EuSlicesTotalCount"] = "perf->sys_vars.n_eu_slices"
 hw_vars["$EuSubslicesTotalCount"] = "perf->sys_vars.n_eu_sub_slices"
+hw_vars["$EuDualSubslicesTotalCount"] = "perf->sys_vars.n_eu_sub_slices"
 hw_vars["$EuThreadsCount"] = "perf->devinfo.num_thread_per_eu"
 hw_vars["$SliceMask"] = "perf->sys_vars.slice_mask"
 # subslice_mask is interchangeable with subslice/dual-subslice since Gfx12+