History

drm/i915/pmu: Add interrupt count metric

For clients like intel-gpu-overlay it is easier to read the count via the perf API than having to parse /proc.

Tvrtko Ursulin committed 8 years ago

Commit 0cd46841 parent b3add012 files · +26 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/drm/i915_drm.h+3−1
@@ -139,7 +139,9 @@ enum drm_i915_pmu_engine_sample { · 138 unmodified lines
139139 #define I915_PMU_ACTUAL_FREQUENCY __I915_PMU_OTHER(0)
140140 #define I915_PMU_REQUESTED_FREQUENCY __I915_PMU_OTHER(1)
141141
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
143145
144146 /* Each region is a minimum of 16k, and there are at most 255 of them.
145147 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t