From c256af5d448dcaef1d4100c2bdbe25656909197d Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Thu, 18 Sep 2014 18:31:29 +0300 Subject: 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 --- tests/kms_fence_pin_leak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_fence_pin_leak.c') diff --git a/tests/kms_fence_pin_leak.c b/tests/kms_fence_pin_leak.c index 69f36b8f..35587e08 100644 --- a/tests/kms_fence_pin_leak.c +++ b/tests/kms_fence_pin_leak.c @@ -212,7 +212,7 @@ igt_simple_main igt_skip_on_simulation(); - data.drm_fd = drm_open_any(); + data.drm_fd = drm_open_any_master(); data.devid = intel_get_drm_devid(data.drm_fd); -- cgit v1.2.3