projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43f5384
)
tests/debugfs_pipe_crc: Test the read CRCs are not null
author
Damien Lespiau
<damien.lespiau@intel.com>
Fri, 18 Oct 2013 11:27:21 +0000
(12:27 +0100)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Fri, 18 Oct 2013 11:27:21 +0000
(12:27 +0100)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tests/debugfs_pipe_crc.c
patch
|
blob
|
history
diff --git
a/tests/debugfs_pipe_crc.c
b/tests/debugfs_pipe_crc.c
index
85ca9f5
..
3d02554
100644
(file)
--- a/
tests/debugfs_pipe_crc.c
+++ b/
tests/debugfs_pipe_crc.c
@@
-184,6
+184,11
@@
static void test_read_crc(data_t *data, int pipe)
igt_pipe_crc_stop(pipe_crc);
+ /* ensure the CRCs are not all 0s */
+ igt_assert(!igt_crc_is_null(&crcs[0]));
+ igt_assert(!igt_crc_is_null(&crcs[1]));
+ igt_assert(!igt_crc_is_null(&crcs[2]));
+
/* and ensure that they'are all equal, we haven't changed the fb */
igt_assert(igt_crc_equal(&crcs[0], &crcs[1]));
igt_assert(igt_crc_equal(&crcs[1], &crcs[2]));