summaryrefslogtreecommitdiff
path: root/tests/kms_plane.c
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2015-05-06 15:23:51 -0300
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2015-05-14 10:02:07 -0300
commit641d535a03ada74a3088309609a16c79076e6ccc (patch)
tree80a15832f4676c8a1c962a1b105cf4a0ef7fad70 /tests/kms_plane.c
parent3db5762384a9495241c1e80ce315a2092e83686a (diff)
lib/debugfs: wait_for_keypress("crc") when collecting CRC
Let's just steal the "crc" namespace and add this by default to igt_pipe_crc_collect_crc() instead of adding more calls to other tests. If tests want special waits on just some of their collect_crc() calls, they can use another name instead of "crc". This is very useful when developing, especially when the CRC we get is wrong: we want to look at the screen to see what's going on before we can think about how to fix the problem. So let's add this to the lib instead of adding this to every single test I need to debug. v2: Add some documentation (Daniel). Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tests/kms_plane.c')
-rw-r--r--tests/kms_plane.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index dc83a89a..741d0b41 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -330,8 +330,6 @@ test_plane_panning_with_output(data_t *data,
igt_pipe_crc_collect_crc(data->pipe_crc, &crc);
- igt_debug_wait_for_keypress("crc");
-
if (flags & TEST_PANNING_TOP_LEFT)
igt_assert_crc_equal(&test.red_crc, &crc);
else