[igt-dev] [PATCH i-g-t 01/12] tests: Add vc4 test suite

Maxime Ripard maxime.ripard at bootlin.com
Tue Apr 24 07:46:35 UTC 2018

Add some various test suites relevant for the vc4 drm driver.

Acked-by: Petri Latvala <petri.latvala at intel.com>
Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>
 tests/vc4_ci/README                      | 38 +++++++++++++++++++++++++-
 tests/vc4_ci/vc4-chamelium-fast.testlist |  4 +++-
 tests/vc4_ci/vc4-chamelium.testlist      |  9 ++++++-
 tests/vc4_ci/vc4.testlist                | 35 +++++++++++++++++++++++-
 4 files changed, 86 insertions(+)
 create mode 100644 tests/vc4_ci/README
 create mode 100644 tests/vc4_ci/vc4-chamelium-fast.testlist
 create mode 100644 tests/vc4_ci/vc4-chamelium.testlist
 create mode 100644 tests/vc4_ci/vc4.testlist

diff --git a/tests/vc4_ci/README b/tests/vc4_ci/README
new file mode 100644
index 000000000000..e1de5c6120da
--- /dev/null
+++ b/tests/vc4_ci/README
@@ -0,0 +1,38 @@
+This directory contains test lists to be used for vc4's DRM support. The files
+are passed to piglit with the --test-list parameter directly.
+The test lists are contained in the IGT repository for several
+- The lists stay synchronized with the IGT codebase.
+- Public availability. Kernel developers can see what tests are run,
+  and can see what changes are done to the set, when, and why.
+- Explicit test lists in general make it possible to implement a new
+  test without having it run by everyone else before the tests and / or setup
+  are ready for it.
+Changing the test lists should only happen with approval from the vc4
+maintainer, Eric Anholt (eric at anholt.net).
+This test list is meant as a general test suite without any time
+restriction for the vc4 DRM driver, combining generic DRM and KMS tests.
+This test list is meant to test the vc4 driver using Google's Chamelium
+board as a testing device. This doesn't have any time restriction, and
+will include test that will run for a significant time.
+This test list is a variant of the previous one, with only tests
+supposed to run quickly. Therefore, the whole suite should be pretty
+fast to execute and is meant to be used as a fast-loop CI.
diff --git a/tests/vc4_ci/vc4-chamelium-fast.testlist b/tests/vc4_ci/vc4-chamelium-fast.testlist
new file mode 100644
index 000000000000..964167b82d00
--- /dev/null
+++ b/tests/vc4_ci/vc4-chamelium-fast.testlist
@@ -0,0 +1,4 @@
+igt at kms_chamelium@hdmi-crc-fast
+igt at kms_chamelium@hdmi-edid-read
+igt at kms_chamelium@hdmi-hpd
+igt at kms_chamelium@hdmi-hpd-fast
diff --git a/tests/vc4_ci/vc4-chamelium.testlist b/tests/vc4_ci/vc4-chamelium.testlist
new file mode 100644
index 000000000000..b00f54cd9c46
--- /dev/null
+++ b/tests/vc4_ci/vc4-chamelium.testlist
@@ -0,0 +1,9 @@
+igt at kms_chamelium@hdmi-crc-fast
+igt at kms_chamelium@hdmi-crc-multiple
+igt at kms_chamelium@hdmi-crc-single
+igt at kms_chamelium@hdmi-edid-read
+igt at kms_chamelium@hdmi-frame-dump
+igt at kms_chamelium@hdmi-hpd
+igt at kms_chamelium@hdmi-hpd-fast
+igt at kms_chamelium@hdmi-hpd-storm
+igt at kms_chamelium@hdmi-hpd-storm-disable
diff --git a/tests/vc4_ci/vc4.testlist b/tests/vc4_ci/vc4.testlist
new file mode 100644
index 000000000000..e86d4c815c56
--- /dev/null
+++ b/tests/vc4_ci/vc4.testlist
@@ -0,0 +1,35 @@
+igt at vc4_create_bo@create-bo-0
+igt at vc4_create_bo@create-bo-4096
+igt at vc4_create_bo@create-bo-zeroed
+igt at vc4_dmabuf_poll@poll-read-waits-until-write-done
+igt at vc4_dmabuf_poll@poll-write-waits-until-write-done
+igt at vc4_label_bo@set-label
+igt at vc4_label_bo@set-bad-handle
+igt at vc4_label_bo@set-bad-name
+igt at vc4_label_bo@set-kernel-name
+igt at vc4_lookup_fail@bad-color-write
+igt at vc4_purgeable_bo@mark-willneed
+igt at vc4_purgeable_bo@mark-purgeable
+igt at vc4_purgeable_bo@mark-purgeable-twice
+igt at vc4_purgeable_bo@access-purgeable-bo-mem
+igt at vc4_purgeable_bo@access-purged-bo-mem
+igt at vc4_purgeable_bo@mark-unpurgeable-check-retained
+igt at vc4_purgeable_bo@mark-unpurgeable-purged
+igt at vc4_purgeable_bo@free-purged-bo
+igt at vc4_tiling@get-bad-handle
+igt at vc4_tiling@set-bad-handle
+igt at vc4_tiling@get-bad-flags
+igt at vc4_tiling@set-bad-flags
+igt at vc4_tiling@get-bad-modifier
+igt at vc4_tiling@set-bad-modifier
+igt at vc4_tiling@set-get
+igt at vc4_tiling@get-after-free
+igt at vc4_wait_bo@bad-bo
+igt at vc4_wait_bo@bad-pad
+igt at vc4_wait_bo@unused-bo-0ns
+igt at vc4_wait_bo@unused-bo-1ns
+igt at vc4_wait_bo@used-bo
+igt at vc4_wait_bo@used-bo-0ns
+igt at vc4_wait_bo@used-bo-1ns
+igt at vc4_wait_seqno@bad-seqno-0ns
+igt at vc4_wait_seqno@bad-seqno-1ns
git-series 0.9.1

More information about the igt-dev mailing list