[igt-dev] [PATCH i-g-t v2 0/5] Add nouveau-crc tests

Lyude
2020-04-17T19:49:48Z

Nouveau has finally gotten CRC support, hooray! Well, it's under review
at least:

https://patchwork.freedesktop.org/series/74804/
(it has a cover letter, but nouveau's mailing list configuration has
blocked the email so I'm waiting for a moderator to fix that)

So, this series adds the relevant tests for it since nvidia's CRC
implementation has some rather interesting design choices that needed to
be worked around.

Changes since v1:
* fix documentation errors Petri pointed out
* Fix documentation for igt_require_fd()
* Fix copyright year in tests/nouveau_crc.c

Lyude Paul (5):
lib/igt_core: Fix igt_assert_fd() documentation
lib/igt_core: Add igt_require_fd()
lib/igt_debugfs: Add igt_debugfs_pipe_dir()
lib/igt_kms: Hook up connector dithering prop
tests: Add nouveau-crc tests

lib/drmtest.c | 10 ++
lib/drmtest.h | 2 +
lib/igt_core.h | 16 +-
lib/igt_debugfs.c | 29 ++++
lib/igt_debugfs.h | 1 +
lib/igt_kms.c | 6 +
lib/igt_kms.h | 1 +
tests/meson.build | 1 +
tests/nouveau_crc.c | 396 ++++++++++++++++++++++++++++++++++++++++++++
9 files changed, 460 insertions(+), 2 deletions(-)
create mode 100644 tests/nouveau_crc.c