diff options
Diffstat (limited to 'tests/perf_pmu.c')
-rw-r--r-- | tests/perf_pmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perf_pmu.c b/tests/perf_pmu.c index 8585ed7b..f4de3ec7 100644 --- a/tests/perf_pmu.c +++ b/tests/perf_pmu.c @@ -880,11 +880,11 @@ test_interrupts(int gem_fd) unsigned int i; int fd; + fd = open_pmu(I915_PMU_INTERRUPTS); + cal = calibrate_nop(gem_fd, calibration_us); sz = batch_len_us * cal / calibration_us; - fd = open_pmu(I915_PMU_INTERRUPTS); - gem_quiescent_gpu(gem_fd); /* Wait for idle state. */ |