summaryrefslogtreecommitdiff
path: root/tests/testdisplay.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2013-05-08 19:06:44 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-05-08 21:00:52 +0200
commit01b408e43a50415c8d979c52c1b732785c1327ea (patch)
treedc47e39a992ae4f2cd85446416da817c888220cb /tests/testdisplay.c
parent0009a4af3d76ada8df86ec012736792d0543fb08 (diff)
testdisplay: set VT graphics mode
Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r--tests/testdisplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 251141fa..80cd112e 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -735,6 +735,8 @@ int main(int argc, char **argv)
drm_fd = drm_open_any();
+ do_or_die(drmtest_set_vt_graphics_mode());
+
mainloop = g_main_loop_new(NULL, FALSE);
if (!mainloop) {
fprintf(stderr, "failed to create glib mainloop\n");