With MTL, frequency and rc6 counters are specific to a gt. Export these counters via gt-specific events to the user space. Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@xxxxxxxxx> Test-with: 20230506005528.1890922-1-umesh.nerlige.ramappa@xxxxxxxxx Tvrtko Ursulin (6): drm/i915/pmu: Support PMU for all engines drm/i915/pmu: Skip sampling engines with no enabled counters drm/i915/pmu: Transform PMU parking code to be GT based drm/i915/pmu: Add reference counting to the sampling timer drm/i915/pmu: Prepare for multi-tile non-engine counters drm/i915/pmu: Export counters from all tiles drivers/gpu/drm/i915/gt/intel_gt_pm.c | 4 +- drivers/gpu/drm/i915/i915_pmu.c | 271 ++++++++++++++++++-------- drivers/gpu/drm/i915/i915_pmu.h | 22 ++- include/uapi/drm/i915_drm.h | 17 +- 4 files changed, 225 insertions(+), 89 deletions(-) -- 2.36.1