summaryrefslogtreecommitdiff
path: root/tests/template.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template.c')
-rw-r--r--tests/template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template.c b/tests/template.c
index 9d7ea18d..5fbd3104 100644
--- a/tests/template.c
+++ b/tests/template.c
@@ -61,7 +61,7 @@ int drm_fd;
igt_main
{
igt_fixture {
- drm_fd = drm_open_any();
+ drm_fd = drm_open_driver(DRIVER_INTEL);
igt_require(drm_fd >= 0);
/* Set up other interesting stuff shared by all tests. */