For clients like intel-gpu-overlay it is easier to read the count via the perf API than having to parse /proc.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -139,7 +139,9 @@ enum drm_i915_pmu_engine_sample { · 138 unmodified lines | ||
| 139 | 139 | #define I915_PMU_ACTUAL_FREQUENCY __I915_PMU_OTHER(0) |
| 140 | 140 | #define I915_PMU_REQUESTED_FREQUENCY __I915_PMU_OTHER(1) |
| 141 | 141 | |
| 142 | −#define I915_PMU_LAST I915_PMU_REQUESTED_FREQUENCY | |
| 142 | +#define I915_PMU_INTERRUPTS __I915_PMU_OTHER(2) | |
| 143 | + | |
| 144 | +#define I915_PMU_LAST I915_PMU_INTERRUPTS | |
| 143 | 145 | |
| 144 | 146 | /* Each region is a minimum of 16k, and there are at most 255 of them. |
| 145 | 147 | */ |