summaryrefslogtreecommitdiff
path: root/overlay/gem-interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/gem-interrupts.c')
-rw-r--r--overlay/gem-interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/gem-interrupts.c b/overlay/gem-interrupts.c
index 5bd8656e..0233fbb0 100644
--- a/overlay/gem-interrupts.c
+++ b/overlay/gem-interrupts.c
@@ -113,7 +113,7 @@ int gem_interrupts_init(struct gem_interrupts *irqs)
{
memset(irqs, 0, sizeof(*irqs));
- irqs->fd = perf_i915_open(I915_PERF_INTERRUPTS);
+ irqs->fd = perf_i915_open(I915_PMU_INTERRUPTS);
if (irqs->fd < 0 && interrupts_read() < 0)
irqs->error = ENODEV;