summaryrefslogtreecommitdiff
path: root/tests/gem_ppgtt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_ppgtt.c')
-rw-r--r--tests/gem_ppgtt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/gem_ppgtt.c b/tests/gem_ppgtt.c
index 37d601ce..bed95db8 100644
--- a/tests/gem_ppgtt.c
+++ b/tests/gem_ppgtt.c
@@ -297,6 +297,12 @@ int main(int argc, char **argv)
{
igt_subtest_init(argc, argv);
+ igt_fixture {
+ int fd = drm_open_driver(DRIVER_INTEL);
+ igt_require_gem(fd);
+ close(fd);
+ }
+
igt_subtest("blt-vs-render-ctx0") {
drm_intel_bo *bcs[1], *rcs[N_CHILD];