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>
This commit is contained in:
Thomas Wood 2015-12-03 11:12:38 +00:00
parent 67d32c210d
commit 8a58734c11
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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);