[Intel-gfx] [PATCH i-g-t 1/3] lib/kms: Let display commits wait for keypress while debugging
Matt Roper
matthew.d.roper at intel.com
Mon Jan 19 20:05:11 PST 2015
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 at intel.com>
---
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
More information about the Intel-gfx
mailing list