summaryrefslogtreecommitdiff
path: root/tests/perf_pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/perf_pmu.c')
-rw-r--r--tests/perf_pmu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/perf_pmu.c b/tests/perf_pmu.c
index 60cff4ee..407ca58c 100644
--- a/tests/perf_pmu.c
+++ b/tests/perf_pmu.c
@@ -1456,8 +1456,10 @@ igt_main
* Check that reported usage is correct when PMU is
* enabled after two batches are running.
*/
- igt_subtest_f("busy-double-start-%s", e->name)
+ igt_subtest_f("busy-double-start-%s", e->name) {
+ gem_require_contexts(fd);
busy_double_start(fd, e);
+ }
/**
* Check that the PMU can be safely enabled in face of