summaryrefslogtreecommitdiff
path: root/tests/gem_stolen.c
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 /tests/gem_stolen.c
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>
Diffstat (limited to 'tests/gem_stolen.c')
-rw-r--r--tests/gem_stolen.c2
1 files changed, 1 insertions, 1 deletions
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);