summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-12-03 11:12:38 +0000
committerThomas Wood <thomas.wood@intel.com>2015-12-03 11:12:38 +0000
commit8a58734c110375793306fc10a31d5b17e816471b (patch)
tree2dc80d96ad2cb96364c43f8f5bfb5630a3a6fe19
parent67d32c210dab272f02d6b4e19a54451a3e0231e5 (diff)
tests: replace drm_open_any in gem_create and gem_stolen
drm_open_any has been replaced by drm_open_driver. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
-rw-r--r--tests/gem_create.c2
-rw-r--r--tests/gem_stolen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_create.c b/tests/gem_create.c
index 8f32072f..25f75d4a 100644
--- a/tests/gem_create.c
+++ b/tests/gem_create.c
@@ -149,7 +149,7 @@ igt_main
igt_skip_on_simulation();
igt_fixture {
- fd = drm_open_any();
+ fd = drm_open_driver(DRIVER_INTEL);
}
igt_subtest("stolen-invalid-flag")
diff --git a/tests/gem_stolen.c b/tests/gem_stolen.c
index 5dc2117c..07fdd39e 100644
--- a/tests/gem_stolen.c
+++ b/tests/gem_stolen.c
@@ -314,7 +314,7 @@ igt_main
igt_skip_on_simulation();
igt_fixture {
- fd = drm_open_any();
+ fd = drm_open_driver(DRIVER_INTEL);
devid = intel_get_drm_devid(fd);
bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);