[Intel-gfx] [PATCH igt 24/28] lib/display: Add a way to wait at every commit for inspection
Damien Lespiau
damien.lespiau at intel.com
Fri Feb 7 15:49:08 CET 2014
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
lib/igt_kms.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 74e52b6..fbbf6aa 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1368,6 +1368,9 @@ int igt_display_commit(igt_display_t *display)
LOG_UNINDENT(display);
+ if (getenv("IGT_DISPLAY_WAIT_AT_COMMIT"))
+ igt_wait_for_keypress();
+
return 0;
}
--
1.8.3.1
More information about the Intel-gfx
mailing list