mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
test/kms, pm: use drm_open_any_master
These tests require DRM master right, so make sure they have it from the beginning. This gives an early indication if another DRM master is running and makes the given test skip (with a proper explanation of the reason) instead of exiting with error. Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@ igt_main
|
||||
igt_skip_on_simulation();
|
||||
|
||||
igt_fixture {
|
||||
drm_fd = drm_open_any();
|
||||
drm_fd = drm_open_any_master();
|
||||
|
||||
bufmgr = drm_intel_bufmgr_gem_init(drm_fd, 4096);
|
||||
devid = intel_get_drm_devid(drm_fd);
|
||||
|
||||
Reference in New Issue
Block a user