mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-23 07:46:15 +00:00
tests/debugfs_pipe_crc: Test the read CRCs are not null
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
43f5384c08
commit
5e3047ce52
@ -184,6 +184,11 @@ static void test_read_crc(data_t *data, int pipe)
|
|||||||
|
|
||||||
igt_pipe_crc_stop(pipe_crc);
|
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 */
|
/* 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[0], &crcs[1]));
|
||||||
igt_assert(igt_crc_equal(&crcs[1], &crcs[2]));
|
igt_assert(igt_crc_equal(&crcs[1], &crcs[2]));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user