Signed-off-by: Thomas Wood <thomas.wood@xxxxxxxxx> --- tests/kms_flip.c | 7 +++++++ tests/kms_pipe_crc_basic.c | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/tests/kms_flip.c b/tests/kms_flip.c index f2ec9ef..7d6e102 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -1566,6 +1566,8 @@ int main(int argc, char **argv) igt_fixture { drm_fd = drm_open_any(); + igt_set_vga_connector_state(drm_fd, FORCE_CONNECTOR_ON); + igt_set_vt_graphics_mode(); igt_install_exit_handler(kms_flip_exit_handler); get_timestamp_format(); @@ -1613,6 +1615,11 @@ int main(int argc, char **argv) } igt_stop_signal_helper(); + igt_fixture { + igt_set_vga_connector_state(drm_fd, + FORCE_CONNECTOR_UNSPECIFIED); + } + /* * Let drm_fd leak, since it's needed by the dpms restore * exit_handler and igt_exit() won't return. diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c index 282c7f6..eab3b3d 100644 --- a/tests/kms_pipe_crc_basic.c +++ b/tests/kms_pipe_crc_basic.c @@ -135,6 +135,8 @@ igt_main igt_fixture { data.drm_fd = drm_open_any(); + igt_set_vga_connector_state(data.drm_fd, FORCE_CONNECTOR_ON); + igt_set_vt_graphics_mode(); igt_require_pipe_crc(); @@ -164,5 +166,8 @@ igt_main igt_fixture { igt_display_fini(&data.display); + + igt_set_vga_connector_state(data.drm_fd, + FORCE_CONNECTOR_UNSPECIFIED); } } -- 1.9.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx