summaryrefslogtreecommitdiff
path: root/lib/drmtest.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-31 17:02:41 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-01 21:10:59 +0100
commit1f0cf2df85ca3f9d900b21db9c8744a99e8f60a0 (patch)
treea82e58d0601e8245a835194636cac0a04b5e8709 /lib/drmtest.h
parent0369fe19b8b8e19e0815361b5187eba81cb2d71a (diff)
lib: make igt_set_vt_graphics_mode never fail
All tests agree that this is a letal failure, so no point to pass it back to callers. Also add some igt_require calls for the drm_fd where I've noticed that it's missing. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r--lib/drmtest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index f5e27081..6e8b16b5 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -394,7 +394,7 @@ void igt_enable_exit_handler(void);
void igt_disable_exit_handler(void);
/* set vt into graphics mode, required to prevent fbcon from interfering */
-int igt_set_vt_graphics_mode(void);
+void igt_set_vt_graphics_mode(void);
/* prefault disabling, needs the corresponding debugfs interface */
void igt_disable_prefault(void);