Mesa (main): freedreno/ci: Test Turnip on Adreno 618

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 2 11:15:59 UTC 2021


Module: Mesa
Branch: main
Commit: 27cb4166b5923997a5566281477a8de326215669
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27cb4166b5923997a5566281477a8de326215669

Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date:   Tue Oct 19 11:14:10 2021 +0200

freedreno/ci: Test Turnip on Adreno 618

Collabora has added 7 new lazor Chromebooks which have Adreno 618 GPUs.

Run half of the test suite (plus variants) in pre-merge.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13441>

---

 src/freedreno/ci/deqp-freedreno-a618-vk-full.toml  | 33 +++++++++++++++++++++
 src/freedreno/ci/deqp-freedreno-a618-vk.toml       | 32 ++++++++++++++++++++
 src/freedreno/ci/freedreno-a618-fails.txt          |  8 +++++
 src/freedreno/ci/freedreno-a618-flakes.txt         | 13 +++++++++
 src/freedreno/ci/freedreno-a618-premerge-skips.txt |  9 ++++++
 src/freedreno/ci/freedreno-a618-skips.txt          | 34 ++++++++++++++++++++++
 src/freedreno/ci/gitlab-ci.yml                     | 25 ++++++++++++++++
 7 files changed, 154 insertions(+)

diff --git a/src/freedreno/ci/deqp-freedreno-a618-vk-full.toml b/src/freedreno/ci/deqp-freedreno-a618-vk-full.toml
new file mode 100644
index 00000000000..3c2b815b5b8
--- /dev/null
+++ b/src/freedreno/ci/deqp-freedreno-a618-vk-full.toml
@@ -0,0 +1,33 @@
+# Basic test set
+[[deqp]]
+deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
+caselists = ["/deqp/mustpass/vk-master.txt"]
+timeout = 300
+renderer_check = "Turnip Adreno .* 618"
+[deqp.env]
+# Force binning in the main run, which makes sure we render at
+# least 2 bins.  This is the path that impacts the most different
+# features.
+TU_DEBUG = "forcebin"
+
+# force-bypass testing
+[[deqp]]
+deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
+caselists = ["/deqp/mustpass/vk-master.txt"]
+timeout = 300
+include = ["dEQP-VK.renderpass.*"]
+prefix = "bypass-"
+[deqp.env]
+TU_DEBUG = "sysmem"
+
+# Partial test with neither force-bin nor force-sysmem.  We don't expect trouble
+# here if both of those work, but it is the default so we should do at least a
+# bit of it. Left disabled for now until we shorten our list of known fails a
+# bit more (otherwise, it's a lot of bother to track as uprevs change the
+# fraction that gets run).
+#[[deqp]]
+#deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
+#caselists = ["/deqp/mustpass/vk-master.txt"]
+#timeout = 300
+#fraction = 10
+#prefix = "defaults-"
diff --git a/src/freedreno/ci/deqp-freedreno-a618-vk.toml b/src/freedreno/ci/deqp-freedreno-a618-vk.toml
new file mode 100644
index 00000000000..bda24e78223
--- /dev/null
+++ b/src/freedreno/ci/deqp-freedreno-a618-vk.toml
@@ -0,0 +1,32 @@
+# Basic test set
+[[deqp]]
+deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
+caselists = ["/deqp/mustpass/vk-master.txt"]
+skips = ["install/freedreno-a618-premerge-skips.txt"]
+renderer_check = "Turnip Adreno .* 618"
+fraction = 2
+[deqp.env]
+# Force binning in the main run, which makes sure we render at
+# least 2 bins.  This is the path that impacts the most different
+# features.
+TU_DEBUG = "forcebin"
+
+# force-bypass testing
+[[deqp]]
+deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
+caselists = ["/deqp/mustpass/vk-master.txt"]
+skips = ["install/freedreno-a618-premerge-skips.txt"]
+include = ["dEQP-VK.renderpass.*"]
+prefix = "bypass-"
+fraction = 15
+[deqp.env]
+TU_DEBUG = "sysmem"
+
+[[deqp]]
+deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
+caselists = ["/deqp/mustpass/vk-master.txt"]
+skips = ["install/freedreno-a618-premerge-skips.txt"]
+include = ["dEQP-VK.graphicsfuzz.*"]
+prefix = "spill-"
+[deqp.env]
+IR3_SHADER_DEBUG = "spillall"
diff --git a/src/freedreno/ci/freedreno-a618-fails.txt b/src/freedreno/ci/freedreno-a618-fails.txt
new file mode 100644
index 00000000000..8a0a0e385d5
--- /dev/null
+++ b/src/freedreno/ci/freedreno-a618-fails.txt
@@ -0,0 +1,8 @@
+# Fails when TU_DEBUG=forcebin is set
+dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_geom,Fail
+dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_vert,Fail
+
+# https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/3052
+# fixed by https://gerrit.khronos.org/c/vk-gl-cts/+/7837
+bypass-dEQP-VK.renderpass.suballocation.subpass_dependencies.separate_channels.r8g8b8a8_unorm,Fail
+bypass-dEQP-VK.renderpass2.suballocation.subpass_dependencies.separate_channels.r8g8b8a8_unorm,Fail
\ No newline at end of file
diff --git a/src/freedreno/ci/freedreno-a618-flakes.txt b/src/freedreno/ci/freedreno-a618-flakes.txt
new file mode 100644
index 00000000000..eae9af19f30
--- /dev/null
+++ b/src/freedreno/ci/freedreno-a618-flakes.txt
@@ -0,0 +1,13 @@
+# Note: flakes lists for CI are just a list of lines that, when
+# non-zero-length and not starting with '#', will regex match to
+# delete lines from the test list.  Be careful.
+
+dEQP-VK.pipeline.multisample.alpha_to_coverage_unused_attachment.samples_2.alpha_opaque
+dEQP-VK.pipeline.multisample.alpha_to_coverage_unused_attachment.samples_4.alpha_opaque
+
+# Could trip hangcheck timeout
+dEQP-VK.api.command_buffers.record_many_draws_primary_2
+dEQP-VK.api.command_buffers.record_many_draws_secondary_2
+
+# "dEQP-VK.wsi.display_control.register_display_event: vkRegisterDisplayEventEXT returned invalid result (Fail)"
+dEQP-VK.wsi.display_control.register_display_event
diff --git a/src/freedreno/ci/freedreno-a618-premerge-skips.txt b/src/freedreno/ci/freedreno-a618-premerge-skips.txt
new file mode 100644
index 00000000000..eefd3e8ac38
--- /dev/null
+++ b/src/freedreno/ci/freedreno-a618-premerge-skips.txt
@@ -0,0 +1,9 @@
+# Note: skips lists for CI are just a list of lines that, when
+# non-zero-length and not starting with '#', will regex match to
+# delete lines from the test list.  Be careful.
+
+# Timeouts, passes otherwise
+KHR-GL33.texture_swizzle.smoke
+
+# Crashes in RA, but slow enough to get there that CI times out sometimes
+dEQP-VK.spirv_assembly.instruction.*.spirv_ids_abuse.lots_ids.*
diff --git a/src/freedreno/ci/freedreno-a618-skips.txt b/src/freedreno/ci/freedreno-a618-skips.txt
new file mode 100644
index 00000000000..2f2f5f29db3
--- /dev/null
+++ b/src/freedreno/ci/freedreno-a618-skips.txt
@@ -0,0 +1,34 @@
+# Note: skips lists for CI are just a list of lines that, when
+# non-zero-length and not starting with '#', will regex match to
+# delete lines from the test list.  Be careful.
+
+# Timeouts in CI even after 5 minutes
+dEQP-VK.tessellation.invariance.outer_edge_division.quads_equal_spacing
+dEQP-VK.tessellation.invariance.outer_edge_division.quads_fractional_even_spacing
+dEQP-VK.tessellation.invariance.outer_edge_division.quads_fractional_odd_spacing
+dEQP-VK.tessellation.invariance.outer_triangle_set.quads_equal_spacing
+dEQP-VK.tessellation.invariance.outer_triangle_set.quads_fractional_even_spacing
+dEQP-VK.tessellation.invariance.outer_triangle_set.quads_fractional_odd_spacing
+dEQP-VK.tessellation.invariance.outer_triangle_set.triangles_equal_spacing
+dEQP-VK.tessellation.invariance.outer_triangle_set.triangles_fractional_even_spacing
+dEQP-VK.tessellation.invariance.outer_triangle_set.triangles_fractional_odd_spacing
+
+# timeout, spending all its time in nir_compare_deref_paths()
+# https://gitlab.freedesktop.org/mesa/mesa/-/issues/5152
+dEQP-VK.ubo.random.all_shared_buffer.48
+
+# Still running after 3 hours, time is spent in batch_draw_tracking().
+KHR-GLES31.core.shader_image_load_store.basic-allFormats-store-fs
+
+# causes a hangcheck timeout on a630:
+# msm ae00000.mdss: [drm:hangcheck_handler] *ERROR* A618: hangcheck detected gpu lockup rb 0!
+dEQP-VK.graphicsfuzz.spv-stable-maze-flatten-copy-composite
+spill-dEQP-VK.graphicsfuzz.cov-nested-loop-undefined-smoothstep-never-executed
+spill-dEQP-VK.graphicsfuzz.spv-access-chains
+spill-dEQP-VK.graphicsfuzz.spv-copy-object
+spill-dEQP-VK.graphicsfuzz.spv-dead-break-and-unroll
+spill-dEQP-VK.graphicsfuzz.spv-stable-maze-O-memory-accesses
+spill-dEQP-VK.graphicsfuzz.spv-stable-pillars-volatile-nontemporal-store
+
+# Crashes in RA, but slow enough to get there that CI times out sometimes
+dEQP-VK.spirv_assembly.instruction.*.spirv_ids_abuse.lots_ids.*
diff --git a/src/freedreno/ci/gitlab-ci.yml b/src/freedreno/ci/gitlab-ci.yml
index 72a8d446f7d..52bc71199ab 100644
--- a/src/freedreno/ci/gitlab-ci.yml
+++ b/src/freedreno/ci/gitlab-ci.yml
@@ -113,6 +113,31 @@ a530-traces:
     PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a530"
     PIGLIT_RESULTS: "freedreno-a530-replay"
 
+a618_vk:
+  extends:
+    - .lava-test:arm64
+    - .freedreno-rules
+  parallel: 7
+  variables:
+    VK_DRIVER: freedreno
+    DEQP_SUITE: freedreno-a618-vk
+    GPU_VERSION: freedreno-a618
+    MESA_VK_IGNORE_CONFORMANCE_WARNING: 1
+    DEVICE_TYPE: sc7180-trogdor-lazor-limozeen
+    DTB: sc7180-trogdor-lazor-limozeen-nots
+    BOOT_METHOD: depthcharge
+    KERNEL_IMAGE_TYPE: ""
+  tags:
+    - mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
+
+a618_vk_full:
+  extends:
+    - a618_vk
+    - .test-manual-mr
+  parallel: 2
+  variables:
+    DEQP_SUITE: freedreno-a618-vk-full
+
 .a630-test:
   extends:
     - .freedreno-test



More information about the mesa-commit mailing list