debugfs_pipe_crc: Let's check CRCs!
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 9 Oct 2013 10:47:43 +0000 (11:47 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Tue, 15 Oct 2013 18:40:07 +0000 (19:40 +0100)
commit4ba97ddf96136d463e5b584fe997d6de698c0a74
tree2a680d029c97450bb4b952d1f002a06cd4ddcfa3
parentf673775fe8a7d9faeaa80f4af9677fecf16e4b17
debugfs_pipe_crc: Let's check CRCs!

Let's add a new test that sets a mode, wait for a few vblanks (3) and
then make sure we read 3 identical CRCs.

Some subtests check for various parsing errors.

In the process, improve the debugfs helpers to deal with CRCs.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/igt_debugfs.c
lib/igt_debugfs.h
tests/.gitignore
tests/Makefile.am
tests/debugfs_pipe_crc.c [new file with mode: 0644]