[igt-dev] [PATCH i-g-t] tests: Add amdgpu test suite

Deucher, Alexander Alexander.Deucher at amd.com
Fri Oct 8 19:09:07 UTC 2021


[Public]

Acked-by: Alex Deucher <alexander.deucher at amd.com>
________________________________
From: Siqueira, Rodrigo <Rodrigo.Siqueira at amd.com>
Sent: Friday, October 8, 2021 3:02 PM
To: igt-dev at lists.freedesktop.org <igt-dev at lists.freedesktop.org>
Cc: Wentland, Harry <Harry.Wentland at amd.com>; Choi, Nicholas <Nicholas.Choi at amd.com>; Li, Sun peng (Leo) <Sunpeng.Li at amd.com>; Deucher, Alexander <Alexander.Deucher at amd.com>; Martin Roukala <martin.roukala at mupuf.org>; Goodfellow, Hayden <Hayden.Goodfellow at amd.com>; Simon Ser <contact at emersion.fr>; Mark Yacoub <markyacoub at google.com>
Subject: [PATCH i-g-t] tests: Add amdgpu test suite

Add various test suites relevant for the amdgpu driver.

Cc: Harry Wentland <harry.wentland at amd.com>
Cc: Nicholas Choi <Nicholas.Choi at amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
Cc: Sun peng (Leo) Li <sunpeng.li at amd.com>
Cc: Alexander Deucher <alexander.deucher at amd.com>
Cc: Martin Roukala <martin.roukala at mupuf.org>
Cc: Hayden Goodfellow <hayden.goodfellow at amd.com>
Cc: Simon Ser <contact at emersion.fr>
Cc: Mark Yacoub <markyacoub at google.com>

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
---
 tests/amdgpu-ci/README                 |  31 +++++
 tests/amdgpu-ci/fast-feedback.testlist | 135 +++++++++++++++++++
 tests/amdgpu-ci/full-feedback.testlist | 173 +++++++++++++++++++++++++
 3 files changed, 339 insertions(+)
 create mode 100644 tests/amdgpu-ci/README
 create mode 100644 tests/amdgpu-ci/fast-feedback.testlist
 create mode 100644 tests/amdgpu-ci/full-feedback.testlist

diff --git a/tests/amdgpu-ci/README b/tests/amdgpu-ci/README
new file mode 100644
index 00000000..bd34245c
--- /dev/null
+++ b/tests/amdgpu-ci/README
@@ -0,0 +1,31 @@
+This directory contains test lists that are used by AMD's CI. 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.
+
+Changing the test lists should only happen with approval from:
+- Harry Wentland <harry.wentland at amd.com>
+- Nicholas Choi <Nicholas.Choi at amd.com>
+- Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
+- Sun peng (Leo) Li <sunpeng.li at amd.com>
+
+======================
+fast-feedback.testlist
+======================
+
+Fast-feedback contains tests that roughly tests a wide coverage of features in
+a short time. We use this list for presubmission validation. Results of a
+fast-feedback test round should only be considered to mean that the kernel is
+not obviously broken.
+
+======================
+full-feedback.testlist
+======================
+
+This is an extensive set of tests that takes a long time to complete in which
+we usually use as post-submission.
diff --git a/tests/amdgpu-ci/fast-feedback.testlist b/tests/amdgpu-ci/fast-feedback.testlist
new file mode 100644
index 00000000..025bea16
--- /dev/null
+++ b/tests/amdgpu-ci/fast-feedback.testlist
@@ -0,0 +1,135 @@
+# tests to be run at the beginning
+igt at kms_setmode@basic
+
+
+# SINGLE-DISPLAY - Light-up, hotplug, bootup, and general functionality tests for single non tiled display
+igt at amdgpu/amd_hotplug at basic
+igt at amdgpu/amd_hotplug at basic-suspend
+igt at kms_bw@linear-tiling-1-displays-1920x1080p
+
+
+# ATOMIC-MODESETTING - Atomic modesetting tests
+igt at kms_atomic@plane-overlay-legacy
+igt at kms_atomic@plane-primary-legacy
+igt at kms_atomic@plane-immutable-zpos
+igt at kms_atomic@test-only
+igt at kms_atomic@plane-cursor-legacy
+igt at kms_atomic@plane-invalid-params
+igt at kms_atomic@plane-invalid-params-fence
+igt at kms_atomic@crtc-invalid-params
+igt at kms_atomic@crtc-invalid-params-fence
+igt at kms_atomic@atomic-invalid-params
+igt at kms_content_protection@atomic
+igt at kms_flip@basic-flip-vs-dpms at a-dp1
+igt at kms_flip@basic-flip-vs-dpms at c-dp1
+igt at kms_flip@basic-plain-flip at a-dp1
+igt at kms_flip@basic-plain-flip at c-dp1
+igt at kms_flip@flip-vs-dpms-off-vs-modeset at a-dp1
+igt at kms_flip@flip-vs-dpms-off-vs-modeset at c-dp1
+
+
+# COLOR - Color Adjustments
+igt at kms_color@pipe-a-gamma
+igt at kms_plane_alpha_blend@pipe-a-alpha-transparent-fb
+igt at kms_color@pipe-a-degamma
+igt at amdgpu/amd_color at crtc-linear-degamma
+igt at kms_plane_alpha_blend@pipe-a-constant-alpha-mid
+igt at kms_color@pipe-a-ctm-0-25
+igt at amdgpu/amd_color at crtc-linear-regamma
+igt at kms_plane_alpha_blend@pipe-a-constant-alpha-max
+igt at kms_color@pipe-a-ctm-negative
+igt at kms_plane_alpha_blend@pipe-a-alpha-opaque-fb
+igt at kms_color@pipe-a-ctm-blue-to-red
+igt at kms_color@pipe-a-ctm-0-75
+igt at kms_color@pipe-a-legacy-gamma
+igt at kms_color@pipe-a-ctm-0-5
+igt at kms_color@pipe-a-ctm-max
+igt at kms_color@pipe-a-ctm-red-to-blue
+igt at amdgpu/amd_color at crtc-lut-accuracy
+igt at kms_color@pipe-a-ctm-green-to-red
+igt at kms_plane_alpha_blend@pipe-a-constant-alpha-min
+igt at kms_plane_alpha_blend@pipe-a-alpha-basic
+igt at kms_color@pipe-a-legacy-gamma-reset
+
+
+# VRR
+igt at kms_vrr@flip-basic
+igt at kms_vrr@flip-dpms
+
+
+# MODES - Tests mode settings
+igt at kms_plane_scaling@plane-scaling at pipe-a-plane-scaling
+igt at kms_plane_scaling@plane-scaling at pipe-c-plane-scaling
+igt at kms_setmode@basic-clone-single-crtc
+igt at kms_setmode@invalid-clone-single-crtc
+igt at kms_setmode@invalid-clone-exclusive-crtc
+igt at kms_setmode@clone-exclusive-crtc
+igt at kms_setmode@invalid-clone-single-crtc-stealing
+
+
+# PLANE - DRM plane-level tests
+igt at kms_plane@plane-panning-top-left at pipe-a-planes
+igt at kms_cursor_legacy@flip-vs-cursor-atomic
+igt at kms_plane@plane-position-hole-dpms at pipe-a-planes
+igt at kms_properties@plane-properties-legacy
+igt at kms_plane_cursor@pipe-a-primary-size-256
+igt at kms_plane@plane-position-covered at pipe-a-planes
+igt at kms_plane@plane-position-hole-dpms at pipe-b-planes
+igt at kms_plane@plane-position-hole at pipe-b-planes
+igt at kms_plane_multiple@atomic-pipe-a-tiling-none
+igt at kms_plane@plane-panning-top-left at pipe-b-planes
+igt at kms_plane@plane-position-covered at pipe-b-planes
+igt at kms_plane_cursor@pipe-a-primary-size-128
+igt at kms_cursor_legacy@cursor-vs-flip-legacy
+igt at kms_plane@plane-panning-bottom-right at pipe-b-planes
+igt at kms_plane_multiple@atomic-pipe-c-tiling-none
+igt at kms_plane@plane-panning-bottom-right at pipe-a-planes
+igt at kms_plane_cursor@pipe-a-primary-size-64
+igt at kms_plane@plane-position-hole at pipe-a-planes
+
+
+# DPMS - DPMS
+igt at kms_content_protection@atomic-dpms
+
+
+# HDCP - HDCP functionality
+igt at kms_content_protection@legacy
+
+
+# DISPLAY-LAYER - General DRM API tests and display driver tests
+igt at core_auth@basic-auth
+igt at kms_prop_blob@basic
+igt at kms_prop_blob@blob-prop-core
+igt at kms_prop_blob@blob-prop-validate
+igt at kms_prop_blob@blob-prop-lifetime
+igt at kms_prop_blob@blob-multiple
+igt at kms_prop_blob@invalid-get-prop-any
+igt at kms_prop_blob@invalid-get-prop
+igt at kms_prop_blob@invalid-set-prop-any
+igt at kms_prop_blob@invalid-set-prop
+igt at kms_atomic_interruptible@legacy-dpms at dp-1-pipe-a
+igt at kms_atomic_interruptible@legacy-pageflip at dp-1-pipe-a
+igt at kms_atomic_interruptible@legacy-cursor at dp-1-pipe-a
+igt at kms_atomic_interruptible@universal-setplane-primary at dp-1-pipe-a
+igt at kms_atomic_interruptible@universal-setplane-cursor at dp-1-pipe-a
+igt at kms_getfb@getfb-handle-zero
+igt at kms_getfb@getfb-handle-valid
+igt at kms_getfb@getfb-handle-closed
+igt at kms_getfb@getfb-handle-not-fb
+igt at kms_getfb@getfb-addfb-different-handles
+igt at kms_getfb@getfb-repeated-different-handles
+igt at kms_getfb@getfb2-handle-zero
+igt at kms_getfb@getfb2-handle-closed
+igt at kms_getfb@getfb2-handle-not-fb
+igt at kms_getfb@getfb2-into-addfb2
+igt at kms_getfb@getfb-handle-protection
+igt at kms_getfb@getfb2-handle-protection
+
+
+# S3 - S3
+igt at kms_plane@plane-panning-bottom-right-suspend at pipe-a-planes
+
+
+# ASSR - ASSR
+igt at amdgpu/amd_assr at assr-links
+igt at amdgpu/amd_assr at assr-links-dpms
diff --git a/tests/amdgpu-ci/full-feedback.testlist b/tests/amdgpu-ci/full-feedback.testlist
new file mode 100644
index 00000000..cc837d47
--- /dev/null
+++ b/tests/amdgpu-ci/full-feedback.testlist
@@ -0,0 +1,173 @@
+# tests to be run at the beginning
+igt at kms_setmode@basic
+
+
+# SINGLE-DISPLAY - Light-up, hotplug, bootup, and general functionality tests for single non tiled display
+igt at amdgpu/amd_hotplug at basic
+igt at amdgpu/amd_hotplug at basic-suspend
+igt at kms_bw@linear-tiling-1-displays-1920x1080p
+
+
+# ATOMIC-MODESETTING - Atomic modesetting tests
+igt at kms_atomic@plane-overlay-legacy
+igt at kms_atomic@plane-primary-legacy
+igt at kms_atomic@plane-immutable-zpos
+igt at kms_atomic@test-only
+igt at kms_atomic@plane-cursor-legacy
+igt at kms_atomic@plane-invalid-params
+igt at kms_atomic@plane-invalid-params-fence
+igt at kms_atomic@crtc-invalid-params
+igt at kms_atomic@crtc-invalid-params-fence
+igt at kms_atomic@atomic-invalid-params
+igt at kms_content_protection@atomic
+igt at kms_flip@basic-flip-vs-dpms at a-dp1
+igt at kms_flip@basic-flip-vs-dpms at c-dp1
+igt at kms_flip@basic-plain-flip at a-dp1
+igt at kms_flip@basic-plain-flip at c-dp1
+igt at kms_flip@flip-vs-dpms-off-vs-modeset at a-dp1
+igt at kms_flip@flip-vs-dpms-off-vs-modeset at c-dp1
+igt at kms_flip_event_leak
+
+
+# COLOR - Color Adjustments
+igt at kms_color@pipe-a-gamma
+igt at kms_plane_alpha_blend@pipe-a-alpha-transparent-fb
+igt at kms_color@pipe-a-degamma
+igt at amdgpu/amd_color at crtc-linear-degamma
+igt at kms_plane_alpha_blend@pipe-a-constant-alpha-mid
+igt at kms_color@pipe-a-ctm-0-25
+igt at amdgpu/amd_color at crtc-linear-regamma
+igt at kms_plane_alpha_blend@pipe-a-constant-alpha-max
+igt at kms_color@pipe-a-ctm-negative
+igt at kms_plane_alpha_blend@pipe-a-alpha-opaque-fb
+igt at kms_color@pipe-a-ctm-blue-to-red
+igt at kms_color@pipe-a-ctm-0-75
+igt at kms_color@pipe-a-legacy-gamma
+igt at kms_color@pipe-a-ctm-0-5
+igt at kms_color@pipe-a-ctm-max
+igt at kms_color@pipe-a-ctm-red-to-blue
+igt at amdgpu/amd_color at crtc-lut-accuracy
+igt at kms_color@pipe-a-ctm-green-to-red
+igt at kms_plane_alpha_blend@pipe-a-constant-alpha-min
+igt at kms_plane_alpha_blend@pipe-a-alpha-basic
+igt at kms_color@pipe-a-legacy-gamma-reset
+
+
+# VRR
+igt at kms_vrr@flip-basic
+igt at kms_vrr@flip-dpms
+igt at amdgpu/amd_vrr_range at freesync-parsing-dp
+igt at amdgpu/amd_vrr_range at freesync-parsing-dp-suspend
+igt at amdgpu/amd_vrr_range at freesync-range-dp
+igt at amdgpu/amd_vrr_range at freesync-range-dp-suspend
+
+
+# MODES - Tests mode settings
+igt at kms_plane_scaling@plane-scaling at pipe-a-plane-scaling
+igt at kms_plane_scaling@plane-scaling at pipe-c-plane-scaling
+igt at kms_setmode@basic-clone-single-crtc
+igt at kms_setmode@invalid-clone-single-crtc
+igt at kms_setmode@invalid-clone-exclusive-crtc
+igt at kms_setmode@clone-exclusive-crtc
+igt at kms_setmode@invalid-clone-single-crtc-stealing
+
+
+# PLANE - DRM plane-level tests
+igt at kms_plane@plane-panning-top-left at pipe-a-planes
+igt at kms_cursor_legacy@flip-vs-cursor-atomic
+igt at kms_plane@plane-position-hole-dpms at pipe-a-planes
+igt at kms_properties@plane-properties-legacy
+igt at kms_plane_cursor@pipe-a-primary-size-256
+igt at kms_plane@plane-position-covered at pipe-a-planes
+igt at kms_plane@plane-position-hole-dpms at pipe-b-planes
+igt at kms_plane@plane-position-hole at pipe-b-planes
+igt at kms_plane_multiple@atomic-pipe-a-tiling-none
+igt at kms_plane@plane-panning-top-left at pipe-b-planes
+igt at kms_plane@plane-position-covered at pipe-b-planes
+igt at kms_plane_cursor@pipe-a-primary-size-128
+igt at kms_cursor_legacy@cursor-vs-flip-legacy
+igt at kms_plane@plane-panning-bottom-right at pipe-b-planes
+igt at kms_plane_multiple@atomic-pipe-c-tiling-none
+igt at kms_plane@plane-panning-bottom-right at pipe-a-planes
+igt at kms_plane_cursor@pipe-a-primary-size-64
+igt at kms_plane@plane-position-hole at pipe-a-planes
+igt at kms_cursor_crc@pipe-a-cursor-size-change
+igt at kms_cursor_crc@pipe-b-cursor-size-change
+igt at kms_cursor_crc@pipe-a-cursor-alpha-opaque
+igt at kms_cursor_crc@pipe-b-cursor-alpha-opaque
+igt at kms_cursor_crc@pipe-a-cursor-alpha-transparent
+igt at kms_cursor_crc@pipe-b-cursor-alpha-transparent
+igt at kms_cursor_crc@pipe-a-cursor-dpms
+igt at kms_cursor_crc@pipe-b-cursor-dpms
+igt at kms_cursor_crc@pipe-a-cursor-suspend
+igt at kms_cursor_crc@pipe-b-cursor-suspend
+igt at kms_cursor_crc@pipe-a-cursor-max-size-onscreen
+igt at kms_cursor_crc@pipe-b-cursor-max-size-onscreen
+igt at kms_cursor_crc@pipe-a-cursor-max-size-offscreen
+igt at kms_cursor_crc@pipe-b-cursor-max-size-offscreen
+igt at kms_cursor_crc@pipe-a-cursor-max-size-sliding
+igt at kms_cursor_crc@pipe-b-cursor-max-size-sliding
+igt at kms_cursor_crc@pipe-a-cursor-max-size-random
+igt at kms_cursor_crc@pipe-b-cursor-max-size-random
+igt at kms_cursor_crc@pipe-a-cursor-max-size-rapid-movement
+igt at kms_cursor_crc@pipe-b-cursor-max-size-rapid-movement
+igt at kms_concurrent@pipe-a
+igt at kms_concurrent@pipe-b
+
+
+# DPMS - DPMS
+igt at kms_content_protection@atomic-dpms
+
+
+# HDCP - HDCP functionality
+igt at kms_content_protection@legacy
+
+
+# DISPLAY-LAYER - General DRM API tests and display driver tests
+igt at core_auth@basic-auth
+igt at kms_prop_blob@basic
+igt at kms_prop_blob@blob-prop-core
+igt at kms_prop_blob@blob-prop-validate
+igt at kms_prop_blob@blob-prop-lifetime
+igt at kms_prop_blob@blob-multiple
+igt at kms_prop_blob@invalid-get-prop-any
+igt at kms_prop_blob@invalid-get-prop
+igt at kms_prop_blob@invalid-set-prop-any
+igt at kms_prop_blob@invalid-set-prop
+igt at kms_vblank@pipe-a-ts-continuation-suspend
+igt at amdgpu/amd_mem_leak at connector-suspend-resume
+igt at amdgpu/amd_mem_leak at connector-hotplug
+igt at kms_atomic_interruptible@legacy-setmode at dp-1-pipe-a
+igt at kms_atomic_interruptible@atomic-setmode at dp-1-pipe-a
+igt at kms_atomic_interruptible@legacy-dpms at dp-1-pipe-a
+igt at kms_atomic_interruptible@legacy-pageflip at dp-1-pipe-a
+igt at kms_atomic_interruptible@legacy-cursor at dp-1-pipe-a
+igt at kms_atomic_interruptible@universal-setplane-primary at dp-1-pipe-a
+igt at kms_atomic_interruptible@universal-setplane-cursor at dp-1-pipe-a
+igt at kms_getfb@getfb-handle-zero
+igt at kms_getfb@getfb-handle-valid
+igt at kms_getfb@getfb-handle-closed
+igt at kms_getfb@getfb-handle-not-fb
+igt at kms_getfb@getfb-addfb-different-handles
+igt at kms_getfb@getfb-repeated-different-handles
+igt at kms_getfb@getfb2-handle-zero
+igt at kms_getfb@getfb2-handle-closed
+igt at kms_getfb@getfb2-handle-not-fb
+igt at kms_getfb@getfb2-into-addfb2
+igt at kms_getfb@getfb-handle-protection
+igt at kms_getfb@getfb2-handle-protection
+igt at kms_sysfs_edid_timing
+
+
+# S3 - S3
+igt at kms_plane@plane-panning-bottom-right-suspend at pipe-a-planes
+
+
+# ASSR - ASSR
+igt at amdgpu/amd_assr at assr-links
+igt at amdgpu/amd_assr at assr-links-dpms
+igt at amdgpu/amd_assr at assr-links-suspend
+
+
+# tests with higher probability of hanging the system
+igt at amdgpu/amd_link_settings at link-training-configs
--
2.25.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20211008/671d2b4f/attachment-0001.htm>


More information about the igt-dev mailing list