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.rama...@intel.com> Test-with: 20230330003656.1294873-1-umesh.nerlige.rama...@intel.com 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 Umesh Nerlige Ramappa (3): drm/i915/pmu: Use a helper to convert to MHz drm/i915/pmu: Split reading engine and other events into helpers drm/i915/pmu: Enable legacy PMU events for MTL drivers/gpu/drm/i915/gt/intel_gt_pm.c | 4 +- drivers/gpu/drm/i915/i915_pmu.c | 464 ++++++++++++++++++++------ drivers/gpu/drm/i915/i915_pmu.h | 22 +- include/uapi/drm/i915_drm.h | 22 +- 4 files changed, 394 insertions(+), 118 deletions(-) -- 2.36.1