Add a call to igt_debug_wait_for_keypress() immediately before we commit new hardware state to help simplify display debugging. To use this, just set the environment variable: IGT_DEBUG_INTERACTIVE=commit Signed-off-by: Matt Roper <matthew.d.roper@xxxxxxxxx> --- lib/igt_kms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index d0c3690..bb72c68 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -1551,6 +1551,7 @@ static int do_display_commit(igt_display_t *display, LOG_INDENT(display, "commit"); + igt_debug_wait_for_keypress("commit"); igt_display_refresh(display); for (i = 0; i < display->n_outputs; i++) { -- 1.8.5.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx