From 6c9d04797b7ef972b1b3746df6985071d1d2de26 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Thu, 24 May 2018 16:24:40 +0200 Subject: tests: Add vc4 test suite Add some various test suites relevant for the vc4 drm driver. Acked-by: Petri Latvala Signed-off-by: Maxime Ripard Signed-off-by: Eric Anholt Reviewed-by: Eric Anholt --- 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 00000000..e1de5c61 --- /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 +reasons: + +- 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@anholt.net). + +============ +vc4.testlist +============ + +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. + +====================== +vc4-chamelium.testlist +====================== + +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. + +=========================== +vc4-chamelium-fast.testlist +=========================== + +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 00000000..964167b8 --- /dev/null +++ b/tests/vc4_ci/vc4-chamelium-fast.testlist @@ -0,0 +1,4 @@ +igt@kms_chamelium@hdmi-crc-fast +igt@kms_chamelium@hdmi-edid-read +igt@kms_chamelium@hdmi-hpd +igt@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 00000000..b00f54cd --- /dev/null +++ b/tests/vc4_ci/vc4-chamelium.testlist @@ -0,0 +1,9 @@ +igt@kms_chamelium@hdmi-crc-fast +igt@kms_chamelium@hdmi-crc-multiple +igt@kms_chamelium@hdmi-crc-single +igt@kms_chamelium@hdmi-edid-read +igt@kms_chamelium@hdmi-frame-dump +igt@kms_chamelium@hdmi-hpd +igt@kms_chamelium@hdmi-hpd-fast +igt@kms_chamelium@hdmi-hpd-storm +igt@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 00000000..e86d4c81 --- /dev/null +++ b/tests/vc4_ci/vc4.testlist @@ -0,0 +1,35 @@ +igt@vc4_create_bo@create-bo-0 +igt@vc4_create_bo@create-bo-4096 +igt@vc4_create_bo@create-bo-zeroed +igt@vc4_dmabuf_poll@poll-read-waits-until-write-done +igt@vc4_dmabuf_poll@poll-write-waits-until-write-done +igt@vc4_label_bo@set-label +igt@vc4_label_bo@set-bad-handle +igt@vc4_label_bo@set-bad-name +igt@vc4_label_bo@set-kernel-name +igt@vc4_lookup_fail@bad-color-write +igt@vc4_purgeable_bo@mark-willneed +igt@vc4_purgeable_bo@mark-purgeable +igt@vc4_purgeable_bo@mark-purgeable-twice +igt@vc4_purgeable_bo@access-purgeable-bo-mem +igt@vc4_purgeable_bo@access-purged-bo-mem +igt@vc4_purgeable_bo@mark-unpurgeable-check-retained +igt@vc4_purgeable_bo@mark-unpurgeable-purged +igt@vc4_purgeable_bo@free-purged-bo +igt@vc4_tiling@get-bad-handle +igt@vc4_tiling@set-bad-handle +igt@vc4_tiling@get-bad-flags +igt@vc4_tiling@set-bad-flags +igt@vc4_tiling@get-bad-modifier +igt@vc4_tiling@set-bad-modifier +igt@vc4_tiling@set-get +igt@vc4_tiling@get-after-free +igt@vc4_wait_bo@bad-bo +igt@vc4_wait_bo@bad-pad +igt@vc4_wait_bo@unused-bo-0ns +igt@vc4_wait_bo@unused-bo-1ns +igt@vc4_wait_bo@used-bo +igt@vc4_wait_bo@used-bo-0ns +igt@vc4_wait_bo@used-bo-1ns +igt@vc4_wait_seqno@bad-seqno-0ns +igt@vc4_wait_seqno@bad-seqno-1ns -- cgit v1.2.3