This was originally added to work around a race, but then that's broken now. And set_vt_mode generally never results in a test binary crash, so overkill. I want to get rid of this interface since I spotted some abuse. Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxxx> --- lib/igt_kms.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 90c8da7a3772..b483662f792a 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -351,9 +351,7 @@ void kmstest_set_vt_graphics_mode(void) igt_install_exit_handler((igt_exit_handler_t) kmstest_restore_vt_mode); - igt_disable_exit_handler(); ret = set_vt_mode(KD_GRAPHICS); - igt_enable_exit_handler(); igt_assert(ret >= 0); orig_vt_mode = ret; -- 2.7.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx