Skip to contentSkip to conversation

drm/ci: add wormdingler-rev1-boe

PATCH New Vignesh Raman 1 participant 4 messages Oct 21

Subsystems (5)
lore
Share & tools
lore

Vignesh Raman

author maintainer
#0 lore raw

v4 cover drm/ci: add wormdingler-rev1-boe

This series updates CI coverage for trogdor-based sc7180 devices by,

- Share skips between sc7180 trogdor devices
- Update xfails for sc7180 trogdor devices
- Adding a new sc7180-trogdor-wormdingler-rev1-boe job.

MR: https://gitlab.freedesktop.org/drm/msm/-/merge_requests/252
Pipeline: https://gitlab.freedesktop.org/vigneshraman/msm/-/pipelines/1771349

Vignesh Raman (3):
drm/ci: share skips between sc7180 trogdor devices drm/ci: update xfails for sc7180 trogdor devices drm/ci: add sc7180-trogdor-wormdingler-rev1-boe

 drivers/gpu/drm/ci/arm64.config               |  4 ++++
 drivers/gpu/drm/ci/build.sh                   |  1 +
 drivers/gpu/drm/ci/igt_runner.sh              |  6 +++--
 drivers/gpu/drm/ci/test.yml                   | 13 +++++++++++
 ...goftown-skips.txt => msm-sc7180-skips.txt} | 12 ----------
 .../msm-sc7180-trogdor-kingoftown-fails.txt   |  2 ++
 ...180-trogdor-wormdingler-rev1-boe-fails.txt | 23 +++++++++++++++++++
 7 files changed, 47 insertions(+), 14 deletions(-)
 rename drivers/gpu/drm/ci/xfails/{msm-sc7180-trogdor-kingoftown-skips.txt => msm-sc7180-skips.txt} (72%)
 create mode 100644 drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-wormdingler-rev1-boe-fails.txt
Signature · 1 line
2.47.3
author maintainer
#1 lore raw

PATCH v4 1/3 drm/ci: share skips between sc7180 trogdor devices

igt_runner.sh looks up the skips, flakes and fails files using GPU_VERSION, which for sc7180 trogdor jobs is the board name.

The skips are the same for all sc7180 trogdor boards, but fails and flakes can differ. Add an optional SKIPS_FILE variable to override the skips file, so that it can be shared.

---

v1:
- New patch in the series

---
 drivers/gpu/drm/ci/igt_runner.sh                            | 6 ++++--
 drivers/gpu/drm/ci/test.yml                                 | 1 +
 ...80-trogdor-kingoftown-skips.txt => msm-sc7180-skips.txt} | 0
 3 files changed, 5 insertions(+), 2 deletions(-)
 rename drivers/gpu/drm/ci/xfails/{msm-sc7180-trogdor-kingoftown-skips.txt => msm-sc7180-skips.txt} (100%)
drivers/gpu/drm/ci/igt_runner.sh +4 -2
index 741d30655ab5..41c6f332a5e6 100755
@@ -30,8 +30,10 @@ case "$DRIVER_NAME" in
         ;;
 esac
 
-if [ -e "/install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt" ]; then
-    IGT_SKIPS="--skips /install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt"
+SKIPS_FILE=${SKIPS_FILE:-$DRIVER_NAME-$GPU_VERSION-skips.txt}
+
+if [ -e "/install/xfails/$SKIPS_FILE" ]; then
+    IGT_SKIPS="--skips /install/xfails/$SKIPS_FILE"
 fi
 
 if [ -e "/install/xfails/$DRIVER_NAME-$GPU_VERSION-flakes.txt" ]; then
drivers/gpu/drm/ci/test.yml +1 -0
index 3777189e9737..248c6958cdbf 100644
@@ -101,6 +101,7 @@
     BOOT_METHOD: depthcharge
     KERNEL_IMAGE_TYPE: ""
     LAVA_FIRMWARE: qcom-lava
+    SKIPS_FILE: msm-sc7180-skips.txt
 
 msm:sc7180-trogdor-kingoftown:
   extends:
drivers/gpu/drm/ci/xfails/msm-sc7180-skips.txt renamed from drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-kingoftown-skips.txt +0 -0
similarity index 100%
rename from drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-kingoftown-skips.txt
rename to drivers/gpu/drm/ci/xfails/msm-sc7180-skips.txt
Signature · 1 line
2.47.3
author maintainer
#2 lore raw

PATCH v4 2/3 drm/ci: update xfails for sc7180 trogdor devices

In reply to Vignesh Raman

Some tests were skipped on sc7180-trogdor-kingoftown because they hung, timed out or broke other tests.

Suspend tests now pass, and the other tests no longer hang or affect other tests. So drop those skips and update the expected failures.

---

v1:
- New patch in the series

---
 drivers/gpu/drm/ci/xfails/msm-sc7180-skips.txt       | 12 ------------
 .../xfails/msm-sc7180-trogdor-kingoftown-fails.txt   |  2 ++
 2 files changed, 2 insertions(+), 12 deletions(-)
drivers/gpu/drm/ci/xfails/msm-sc7180-skips.txt +0 -12
index 154b047787b2..8d1768de90cc 100644
@@ -1,6 +1,3 @@
-# Suspend to RAM seems to be broken on this machine
-.*suspend.*
-
 # Skip driver specific tests
 ^amdgpu.*
 nouveau_.*
@@ -19,20 +16,11 @@ kms_dp_link_training.*
 # since core_getversion also fails.
 core_hotunplug.*
 
-# Timeout occurs
-kms_flip@2x-wf_vblank-ts-check
-
-# Hangs the machine
-kms_cursor_crc@cursor-random-max-size
-
 # IGT issue. is_joiner_mode() should return false for non-Intel hardware.
 # https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/162
 kms_display_modes@extended-mode-basic
 kms_display_modes@mst-extended-mode-negative
 
-# It causes other tests to fail, so skip it.
-kms_invalid_mode@overflow-vrefresh
-
 # sc7180 does not have APRIV, so memptrs is not protected.
 # (Preemption is not supported on devices that do not have
 # APRIV, so this is ok)
drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-kingoftown-fails.txt +2 -0
index 2daf4ab879a9..96743acc399d 100644
@@ -9,10 +9,12 @@ kms_color@ctm-red-to-blue,Fail
 kms_color@ctm-signed,Fail
 kms_color@gamma,Fail
 kms_color@legacy-gamma,Fail
+kms_cursor_edge_walk@256x256-right-edge,Fail
 kms_cursor_legacy@cursor-vs-flip-toggle,Fail
 kms_cursor_legacy@cursor-vs-flip-varying-size,Fail
 kms_flip@flip-vs-modeset-vs-hang,Fail
 kms_flip@flip-vs-panning-vs-hang,Fail
+kms_invalid_mode@overflow-vrefresh,Fail
 kms_lease@lease-uevent,Fail
 kms_pipe_crc_basic@compare-crc-sanitycheck-nv12,Fail
 kms_plane_alpha_blend@alpha-7efc,Fail
Signature · 1 line
2.47.3
author maintainer
#3 lore raw

PATCH v4 3/3 drm/ci: add sc7180-trogdor-wormdingler-rev1-boe

In reply to Vignesh Raman

Add job that executes the IGT test suite for
sc7180-trogdor-wormdingler-rev1-boe.

---

v4:
- Use shared skips file between sc7180 trogdor devices

v3:
- Rebase with msm-next
- https://gitlab.freedesktop.org/drm/msm/-/merge_requests/221

v2:
- Add comments to clarify panel configurations for sc7180 trogdor devices
- https://gitlab.freedesktop.org/drm/msm/-/merge_requests/221
- Failure pipeline - https://gitlab.freedesktop.org/vigneshraman/msm/-/pipelines/1642103

v1:
- https://gitlab.freedesktop.org/drm/msm/-/merge_requests/221
- Depends on https://lore.kernel.org/dri-devel/[email protected]/

---
 drivers/gpu/drm/ci/arm64.config               |  4 ++++
 drivers/gpu/drm/ci/build.sh                   |  1 +
 drivers/gpu/drm/ci/test.yml                   | 12 ++++++++++
 ...180-trogdor-wormdingler-rev1-boe-fails.txt | 23 +++++++++++++++++++
 4 files changed, 40 insertions(+)
 create mode 100644 drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-wormdingler-rev1-boe-fails.txt
drivers/gpu/drm/ci/arm64.config +4 -0
index c46125c1f80f..64951d9f98cc 100644
@@ -214,3 +214,7 @@ CONFIG_PWM_TEGRA=y
 CONFIG_DRM_PANTHOR=m
 CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=y
 CONFIG_PHY_ROCKCHIP_SAMSUNG_HDPTX=y
+
+# For sc7180-trogdor-wormdingler-rev1-boe
+CONFIG_DRM_PANEL_BOE_TV101WUM_NL6=y
+CONFIG_GPIO_SHARED_PROXY=y
drivers/gpu/drm/ci/build.sh +1 -0
index fdaa26ad79d6..be12bfc0cb97 100644
@@ -27,6 +27,7 @@ if [[ "$KERNEL_ARCH" = "arm64" ]]; then
     DEVICE_TREES+=" arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dtb"
     DEVICE_TREES+=" arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dtb"
     DEVICE_TREES+=" arch/arm64/boot/dts/qcom/sc7180-trogdor-kingoftown.dtb"
+    DEVICE_TREES+=" arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe.dtb"
     DEVICE_TREES+=" arch/arm64/boot/dts/qcom/sm8350-hdk.dtb"
 elif [[ "$KERNEL_ARCH" = "arm" ]]; then
     GCC_ARCH="arm-linux-gnueabihf"
drivers/gpu/drm/ci/test.yml +12 -0
index 248c6958cdbf..fd03e976b4a9 100644
@@ -103,6 +103,7 @@
     LAVA_FIRMWARE: qcom-lava
     SKIPS_FILE: msm-sc7180-skips.txt
 
+# eDP panel (parade ps8640 dsi->edp bridge)
 msm:sc7180-trogdor-kingoftown:
   extends:
     - .msm-sc7180
@@ -113,6 +114,17 @@ msm:sc7180-trogdor-kingoftown:
     GPU_VERSION: ${DEVICE_TYPE}
     RUNNER_TAG: mesa-ci-x86-64-lava-sc7180-trogdor-kingoftown
 
+# MIPI DSI panel
+msm:sc7180-trogdor-wormdingler-rev1-boe:
+  extends:
+    - .msm-sc7180
+  parallel: 6
+  variables:
+    DEVICE_TYPE: sc7180-trogdor-wormdingler-rev1-boe
+    DTB: sc7180-trogdor-wormdingler-rev1-boe
+    GPU_VERSION: ${DEVICE_TYPE}
+    RUNNER_TAG: mesa-ci-x86-64-lava-sc7180-trogdor-wormdingler-rev1-boe
+
 msm:apq8016:
   extends:
     - .lava-igt:arm64
drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-wormdingler-rev1-boe-fails.txt new file +23 -0
new file mode 100644
index 000000000000..4af93eeeaf99
@@ -0,0 +1,23 @@
+core_setmaster@master-drop-set-user,Fail
+kms_color@ctm-0-25,Fail
+kms_color@ctm-0-50,Fail
+kms_color@ctm-0-75,Fail
+kms_color@ctm-blue-to-red,Fail
+kms_color@ctm-green-to-red,Fail
+kms_color@ctm-negative,Fail
+kms_color@ctm-red-to-blue,Fail
+kms_color@ctm-signed,Fail
+kms_color@gamma,Fail
+kms_color@legacy-gamma,Fail
+kms_cursor_legacy@cursor-vs-flip-toggle,Fail
+kms_cursor_legacy@cursor-vs-flip-varying-size,Fail
+kms_flip@flip-vs-modeset-vs-hang,Fail
+kms_flip@flip-vs-panning-vs-hang,Fail
+kms_invalid_mode@overflow-vrefresh,Fail
+kms_lease@lease-uevent,Fail
+kms_pipe_crc_basic@compare-crc-sanitycheck-nv12,Fail
+kms_plane@pixel-format,Fail
+kms_plane@pixel-format-source-clamping,Fail
+kms_plane_alpha_blend@alpha-7efc,Fail
+kms_plane_alpha_blend@coverage-7efc,Fail
+kms_plane_alpha_blend@coverage-vs-premult-vs-constant,Fail
Signature · 1 line
2.47.3