summaryrefslogtreecommitdiff
path: root/lib/igt_perf.h
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-11-24 17:16:18 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-11-24 21:38:26 +0000
commit4c57ff468fa48707777184b3da56432602f967af (patch)
tree34f2f956a28ca50a151090c4dd8ebb8688e72eae /lib/igt_perf.h
parentc6577473df7117b7a6e030605df1e28cd0e55708 (diff)
intel/pmu: Catch-up with i915 RC6 aggregation changes
Since i915 PMU is removing separate RC6 counters and now aggregates all under a single one, catch up the test and intel-gpu-overlay with those changes. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_perf.h')
-rw-r--r--lib/igt_perf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/igt_perf.h b/lib/igt_perf.h
index 5428feb0..7b66fc58 100644
--- a/lib/igt_perf.h
+++ b/lib/igt_perf.h
@@ -64,10 +64,8 @@ enum drm_i915_pmu_engine_sample {
#define I915_PMU_REQUESTED_FREQUENCY __I915_PMU_OTHER(1)
#define I915_PMU_INTERRUPTS __I915_PMU_OTHER(2)
#define I915_PMU_RC6_RESIDENCY __I915_PMU_OTHER(3)
-#define I915_PMU_RC6p_RESIDENCY __I915_PMU_OTHER(4)
-#define I915_PMU_RC6pp_RESIDENCY __I915_PMU_OTHER(5)
-#define I915_PMU_LAST I915_PMU_RC6pp_RESIDENCY
+#define I915_PMU_LAST I915_PMU_RC6_RESIDENCY
static inline int
perf_event_open(struct perf_event_attr *attr,