All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH igt] igt/kms_plane_scaling: Open DRM_MASTER
@ 2018-04-12  8:43 ` Chris Wilson
  0 siblings, 0 replies; 6+ messages in thread
From: Chris Wilson @ 2018-04-12  8:43 UTC (permalink / raw)
  To: igt-dev; +Cc: intel-gfx

Modesetting requires DRM_MASTER privileges, so use
drm_open_driver_master() to assert that we do acquire them.

References: https://bugs.freedesktop.org/show_bug.cgi?id=105997
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/kms_plane_scaling.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index 9d3fe958..a8454205 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -532,7 +532,7 @@ igt_main
 	igt_skip_on_simulation();
 
 	igt_fixture {
-		data.drm_fd = drm_open_driver(DRIVER_INTEL);
+		data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
 		igt_require_pipe_crc(data.drm_fd);
 		igt_display_init(&data.display, data.drm_fd);
 		data.devid = intel_get_drm_devid(data.drm_fd);
-- 
2.17.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-13 17:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-12  8:43 [PATCH igt] igt/kms_plane_scaling: Open DRM_MASTER Chris Wilson
2018-04-12  8:43 ` [igt-dev] " Chris Wilson
2018-04-12 10:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-04-12 14:36 ` [igt-dev] [PATCH igt] " Antonio Argenziano
2018-04-12 14:36   ` Antonio Argenziano
2018-04-13 17:55 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.