Skip to contentSkip to conversation

drm: ci: fixes

PATCH Superseded Vignesh Raman 3 participants 17 messages Nov 29, 2023 – Dec 5, 2023

Subsystems (11)

v6 of 7 Superseded Latest is v7 →

lore
Share & tools
lore

Vignesh Raman

author maintainer
#0 lore raw

v6 cover drm: ci: fixes

The patch series contains improvements, enabling new ci jobs which enables testing for Mediatek MT8173, Qualcomm APQ 8016 and VirtIO GPU, fixing issues with the ci jobs and updating the expectation files.

v2:
- Use fdtoverlay command to merge overlay dtbo with the base dtb instead of modifying the kernel sources
- Reworded the commit message for enabling jobs
- Added a new patch in the series to use scripts/config to enable/disable configs

v3:
- New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom
- drm-ci scripts to use device tree overlay from arch/arm64/boot/dts/qcom and compile base device tree with overlay support
- New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig
- Remove CONFIG_RTC_DRV_MT6397=y as it is already enabled in defconfig

v4:
- Drop 'enable CONFIG_REGULATOR_DA9211 in defconfig' patch as it is sent upstream as a seperate patch
- Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode.

    This patch depends on https://lore.kernel.org/lkml/[email protected]/

v5:
- Added a new patch in the series to set IGT_FORCE_DRIVER to 'mediatek' for mt8173
- Added a new patch in the series to make artifacts available for virtio jobs
- Added a new patch in the series to add pipeline url to fails and flakes files
- Generate fails and flakes file with the updated xfails script - https://www.spinics.net/lists/kernel/msg4959630.html
- Drop 'virtio: Update ci variables' patch as the tests which causes the malloc issue are skipped

v6:
- Updated commit message for enable DA9211 regulator fix
- Use GPU_VERSION instead of CI_JOB_NAME to check if it is mt8173 while setting IGT_FORCE_DRIVER
- Added a new patch in the series to uprev IGT to fix memory corruption
- Added a new patch in the series to update drm ci documentation
- Generate fails file with drm-misc-next

Vignesh Raman (10):
drm: ci: igt_runner: Remove todo
drm: ci: Force db410c to host mode
drm: ci: arm64.config: Enable DA9211 regulator
drm: ci: Enable new jobs
drm: ci: Use scripts/config to enable/disable configs
drm: ci: mediatek: Set IGT_FORCE_DRIVER for mt8173
drm: ci: virtio: Make artifacts available
drm: ci: uprev IGT
drm/doc: ci: Add IGT version details for flaky tests
drm: ci: Update xfails

 Documentation/gpu/automated_testing.rst       |  7 +--
 drivers/gpu/drm/ci/arm64.config               |  1 +
 drivers/gpu/drm/ci/build.sh                   | 16 +++----
 drivers/gpu/drm/ci/gitlab-ci.yml              |  2 +-
 drivers/gpu/drm/ci/igt_runner.sh              |  5 +-
 drivers/gpu/drm/ci/test.yml                   | 13 ++----
 .../drm/ci/xfails/mediatek-mt8173-fails.txt   | 13 ++++--
 .../gpu/drm/ci/xfails/msm-apq8016-fails.txt   |  5 ++
 .../drm/ci/xfails/virtio_gpu-none-fails.txt   | 46 +++++++++++++++++++
 9 files changed, 82 insertions(+), 26 deletions(-)
Signature · 1 line
2.40.1
author maintainer
#1 lore raw

PATCH v6 1/10 drm: ci: igt_runner: Remove todo

/sys/kernel/debug/dri/*/state exist for every atomic KMS driver. We do not test non-atomic drivers, so remove the todo.

---

v2:
- No changes

v3:
- No changes

v4:
- No changes

v5:
- No changes

v6:
- No changes

---
 drivers/gpu/drm/ci/igt_runner.sh | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/ci/igt_runner.sh +0 -1
index 2f815ee3a8a3..c6cf963592c5 100755
@@ -15,7 +15,6 @@ cat /sys/kernel/debug/device_component/*
 '
 
 # Dump drm state to confirm that kernel was able to find a connected display:
-# TODO this path might not exist for all drivers.. maybe run modetest instead?
 set +e
 cat /sys/kernel/debug/dri/*/state
 set -e
Signature · 1 line
2.40.1
author maintainer
#2 lore raw

PATCH v6 2/10 drm: ci: Force db410c to host mode

In reply to Vignesh Raman

Force db410c to host mode to fix network issue which results in failure
to mount root fs via NFS.
See https://gitlab.freedesktop.org/gfx-ci/linux/-/commit/cb72a629b8c15c80a54dda510743cefd1c4b65b8

Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode.

---

v2:
- Use fdtoverlay command to merge overlay dtbo with the base dtb instead of modifying the kernel sources

v3:
- drm-ci scripts to use device tree overlay from arch/arm64/boot/dts/qcom and compile base device tree with overlay support

v4:
- Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode.

    This patch depends on https://lore.kernel.org/lkml/[email protected]/

v5:
- No changes

v6:
- No changes

---
 drivers/gpu/drm/ci/build.sh | 2 +-
 drivers/gpu/drm/ci/test.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/ci/build.sh +1 -1
index e5c5dcedd108..e2260b4a1c67 100644
@@ -19,7 +19,7 @@ if [[ "$KERNEL_ARCH" = "arm64" ]]; then
     DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dtb"
     DEVICE_TREES+=" arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dtb"
     DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dtb"
-    DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8016-sbc.dtb"
+    DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb"
     DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8096-db820c.dtb"
     DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dtb"
     DEVICE_TREES+=" arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtb"
drivers/gpu/drm/ci/test.yml +1 -1
index f285ed67eb3d..4af10f0ff82d 100644
@@ -102,7 +102,7 @@ msm:apq8016:
   stage: msm
   variables:
     DRIVER_NAME: msm
-    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc.dtb
+    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc-usb-host.dtb
     GPU_VERSION: apq8016
     BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 $BM_KERNEL_EXTRA_ARGS root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS"
     RUNNER_TAG: google-freedreno-db410c
Signature · 1 line
2.40.1
author maintainer
#3 lore raw

PATCH v6 3/10 drm: ci: arm64.config: Enable DA9211 regulator

In reply to Vignesh Raman

Mediatek mt8173 board fails to boot with DA9211 regulator disabled. Enable CONFIG_REGULATOR_DA9211=y in arm64.config to fix mt8173 boot issue.

---

v2:
- No changes

v3:
- Remove CONFIG_RTC_DRV_MT6397=y as it is already enabled in defconfig

v4:
- No changes

v5:
- No changes

v6:
- Updated commit message

---
 drivers/gpu/drm/ci/arm64.config | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/ci/arm64.config +1 -0
index b4f653417883..8dbce9919a57 100644
@@ -186,6 +186,7 @@ CONFIG_HW_RANDOM_MTK=y
 CONFIG_MTK_DEVAPC=y
 CONFIG_PWM_MTK_DISP=y
 CONFIG_MTK_CMDQ=y
+CONFIG_REGULATOR_DA9211=y
 
 # For nouveau.  Note that DRM must be a module so that it's loaded after NFS is up to provide the firmware.
 CONFIG_ARCH_TEGRA=y
Signature · 1 line
2.40.1
author maintainer
#4 lore raw

PATCH v6 4/10 drm: ci: Enable new jobs

In reply to Vignesh Raman

Enable the following jobs, as the issues noted in the TODO comments have been resolved. This will ensure that these jobs are now included and executed as part of the CI/CD pipeline.

msm:apq8016:
TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.

mediatek:mt8173:
TODO: current issue: device is hanging. Fix and remove this rule.

virtio_gpu:none:
TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.

---

v2:
- Reworded the commit message

v3:
- No changes

v4:
- No changes

v5:
- No changes

v6:
- No changes

---
 drivers/gpu/drm/ci/test.yml | 9 ---------
 1 file changed, 9 deletions(-)
drivers/gpu/drm/ci/test.yml +0 -9
index 4af10f0ff82d..e0fdc55c9b69 100644
@@ -108,9 +108,6 @@ msm:apq8016:
     RUNNER_TAG: google-freedreno-db410c
   script:
     - ./install/bare-metal/fastboot.sh
-  rules:
-    # TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.
-    - when: never
 
 msm:apq8096:
   extends:
@@ -280,9 +277,6 @@ mediatek:mt8173:
     DEVICE_TYPE: mt8173-elm-hana
     GPU_VERSION: mt8173
     RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
-  rules:
-    # TODO: current issue: device is hanging. Fix and remove this rule.
-    - when: never
 
 mediatek:mt8183:
   extends:
@@ -340,6 +334,3 @@ virtio_gpu:none:
     - debian/x86_64_test-gl
     - testing:x86_64
     - igt:x86_64
-  rules:
-    # TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
-    - when: never
\ No newline at end of file
Signature · 1 line
2.40.1
author maintainer
#5 lore raw

PATCH v6 5/10 drm: ci: Use scripts/config to enable/disable configs

In reply to Vignesh Raman

Instead of modifying files in git to enable/disable configs, use scripts/config on the .config file which will be used for building the kernel.

---

v2:
- Added a new patch in the series to use scripts/config to enable/disable configs

v3:
- No changes

v4:
- No changes

v5:
- No changes

v6:
- No changes

---
 drivers/gpu/drm/ci/build.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/gpu/drm/ci/build.sh +7 -7
index e2260b4a1c67..97ff43759b91 100644
@@ -75,19 +75,19 @@ else
     fi
 fi
 
-for opt in $ENABLE_KCONFIGS; do
-  echo CONFIG_$opt=y >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
-done
-for opt in $DISABLE_KCONFIGS; do
-  echo CONFIG_$opt=n >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
-done
-
 if [[ -n "${MERGE_FRAGMENT}" ]]; then
     ./scripts/kconfig/merge_config.sh ${DEFCONFIG} drivers/gpu/drm/ci/${MERGE_FRAGMENT}
 else
     make `basename ${DEFCONFIG}`
 fi
 
+for opt in $ENABLE_KCONFIGS; do
+    ./scripts/config --enable CONFIG_$opt
+done
+for opt in $DISABLE_KCONFIGS; do
+    ./scripts/config --disable CONFIG_$opt
+done
+
 make ${KERNEL_IMAGE_NAME}
 
 mkdir -p /lava-files/
Signature · 1 line
2.40.1
author maintainer
#6 lore raw

PATCH v6 6/10 drm: ci: mediatek: Set IGT_FORCE_DRIVER for mt8173

In reply to Vignesh Raman

Expected driver for mt8173 is "mediatek" and for mt8183 it is "panfrost". Set IGT_FORCE_DRIVER to 'mediatek' as the expected driver for mt8173.

---

v5:
- Added a new patch in the series to set IGT_FORCE_DRIVER to 'mediatek' for mt8173

v6:
- Use GPU_VERSION instead of CI_JOB_NAME to check if it is mt8173

---
 drivers/gpu/drm/ci/igt_runner.sh | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/ci/igt_runner.sh +4 -0
index c6cf963592c5..70a0f84021a1 100755
@@ -30,6 +30,10 @@ case "$DRIVER_NAME" in
         ;;
 esac
 
+if [ "$GPU_VERSION" = "mt8173" ]; then
+    export IGT_FORCE_DRIVER=${DRIVER_NAME}
+fi
+
 if [ -e "/install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt" ]; then
     IGT_SKIPS="--skips /install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt"
 fi
Signature · 1 line
2.40.1
#7 lore raw

Re: [PATCH v6 06/10] drm: ci: mediatek: Set IGT_FORCE_DRIVER for mt8173

Hi Vignesh,

Quoted 3 lines · Vignesh Raman

Expected driver for mt8173 is "mediatek" and for mt8183 it is "panfrost". Set IGT_FORCE_DRIVER to 'mediatek' as the expected driver for mt8173.

Actually, for mt8183 it's both. And for mt8173 it will probably be mediatek+pvr pretty soon. Each of these SoCs (like most Arm devices) have a separate display controller and GPU, with different drivers for each. They'll run different tests with different xfails. So we should figure out a way to support igt running for both devices on the one system.

Cheers,
Daniel

author maintainer
#8 lore raw

Re: [PATCH v6 06/10] drm: ci: mediatek: Set IGT_FORCE_DRIVER for mt8173

Hi Daniel,

Quoted 7 lines · Daniel Stone

Hi Vignesh,

Quoted 3 lines · Vignesh Raman

Expected driver for mt8173 is "mediatek" and for mt8183 it is "panfrost". Set IGT_FORCE_DRIVER to 'mediatek' as the expected driver for mt8173.

Quoted 6 lines

Actually, for mt8183 it's both. And for mt8173 it will probably be mediatek+pvr pretty soon. Each of these SoCs (like most Arm devices) have a separate display controller and GPU, with different drivers for each. They'll run different tests with different xfails. So we should figure out a way to support igt running for both devices on the one system.

Agree. Will work on separate patch to test both the drivers for these devices.

Regards,
Vignesh

Acked-by on v6 6/10
#9 lore raw

Re: [PATCH v6 06/10] drm: ci: mediatek: Set IGT_FORCE_DRIVER for mt8173

In reply to Vignesh Raman

Hi,

Thanks for your patch.

Quoted 22 lines · Vignesh Raman

Expected driver for mt8173 is "mediatek" and for mt8183 it is "panfrost". Set IGT_FORCE_DRIVER to 'mediatek' as the expected driver for mt8173.

---

v5:
- Added a new patch in the series to set IGT_FORCE_DRIVER to 'mediatek' for mt8173

v6:
- Use GPU_VERSION instead of CI_JOB_NAME to check if it is mt8173

---
  drivers/gpu/drm/ci/igt_runner.sh | 4 ++++
  1 file changed, 4 insertions(+)
drivers/gpu/drm/ci/igt_runner.sh +0 -0
index c6cf963592c5..70a0f84021a1 100755

drivers/gpu/drm/ci/igt_runner.sh case "$DRIVER_NAME" in · line 35

Quoted 6 lines
drivers/gpu/drm/ci/igt_runner.sh +3 -0
@@ -30,6 +30,10 @@ case "$DRIVER_NAME" in
          ;;
  esac
 
+if [ "$GPU_VERSION" = "mt8173" ]; then
+    export IGT_FORCE_DRIVER=${DRIVER_NAME}
+fi

Just a nit, could you add this in the first case statement? Just to avoid confusing about double assignment? -> but feel free to ignore this comment.

With or without this:

Thanks
Helen

Quoted 4 lines
drivers/gpu/drm/ci/igt_runner.sh +1 -0
+
  if [ -e "/install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt" ]; then
      IGT_SKIPS="--skips /install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt"
  fi
author maintainer
#10 lore raw

PATCH v6 7/10 drm: ci: virtio: Make artifacts available

In reply to Vignesh Raman

There were no artifacts available for virtio job. So make the artifacts available in the pipeline job.

---

v5:
- Added a new patch in the series to make artifacts available for virtio jobs

v6:
- No changes

---
 drivers/gpu/drm/ci/test.yml | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/ci/test.yml +2 -0
index e0fdc55c9b69..2c9a1838e728 100644
@@ -329,6 +329,8 @@ virtio_gpu:none:
   script:
     - ln -sf $CI_PROJECT_DIR/install /install
     - mv install/bzImage /lava-files/bzImage
+    - mkdir -p $CI_PROJECT_DIR/results
+    - ln -sf $CI_PROJECT_DIR/results /results
     - install/crosvm-runner.sh install/igt_runner.sh
   needs:
     - debian/x86_64_test-gl
Signature · 1 line
2.40.1
Acked-by on v6 7/10
#11 lore raw

Re: [PATCH v6 07/10] drm: ci: virtio: Make artifacts available

Quoted 4 lines · Vignesh Raman

There were no artifacts available for virtio job. So make the artifacts available in the pipeline job.

Thanks
Helen

Quoted 25 lines

---

v5:
- Added a new patch in the series to make artifacts available for virtio jobs

v6:
- No changes

---
  drivers/gpu/drm/ci/test.yml | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/ci/test.yml +2 -0
index e0fdc55c9b69..2c9a1838e728 100644
@@ -329,6 +329,8 @@ virtio_gpu:none:
    script:
      - ln -sf $CI_PROJECT_DIR/install /install
      - mv install/bzImage /lava-files/bzImage
+    - mkdir -p $CI_PROJECT_DIR/results
+    - ln -sf $CI_PROJECT_DIR/results /results
      - install/crosvm-runner.sh install/igt_runner.sh
    needs:
      - debian/x86_64_test-gl
author maintainer
#12 lore raw

PATCH v6 8/10 drm: ci: uprev IGT

In reply to Vignesh Raman

virtio-gpu kernel driver reports 16 for count_crtcs which exceeds IGT_MAX_PIPES set to 8 in igt-gpu-tools. This results in below memory corruption,

 malloc(): corrupted top size
 Received signal SIGABRT.
 Stack trace:
  #0 [fatal_sig_handler+0x17b]
  #1 [__sigaction+0x40]
  #2 [pthread_key_delete+0x14c]
  #3 [gsignal+0x12]
  #4 [abort+0xd3]
  #5 [__fsetlocking+0x290]
  #6 [timer_settime+0x37a]
  #7 [__default_morecore+0x1f1b]
  #8 [__libc_calloc+0x161]
  #9 [drmModeGetPlaneResources+0x44]
  #10 [igt_display_require+0x194]
  #11 [__igt_unique____real_main1356+0x93c]
  #12 [main+0x3f]
  #13 [__libc_init_first+0x8a]
  #14 [__libc_start_main+0x85]
  #15 [_start+0x21]

This is fixed in igt-gpu-tools by increasing IGT_MAX_PIPES to 16.
https://patchwork.freedesktop.org/series/126327/

Uprev IGT to include the patches which fixes this issue.

---

v6:
- Added a new patch in the series to uprev IGT to fix memory corruption

---
 drivers/gpu/drm/ci/gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ci/gitlab-ci.yml +1 -1
index aeb9bab1b069..dac92cc2777c 100644
@@ -5,7 +5,7 @@ variables:
   UPSTREAM_REPO: git://anongit.freedesktop.org/drm/drm
   TARGET_BRANCH: drm-next
 
-  IGT_VERSION: d1db7333d9c5fbbb05e50b0804123950d9dc1c46
+  IGT_VERSION: d2af13d9f5be5ce23d996e4afd3e45990f5ab977
 
   DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/anholt/deqp-runner.git
   DEQP_RUNNER_GIT_TAG: v0.15.0
Signature · 1 line
2.40.1
Acked-by on v6 8/10
#13 lore raw

Re: [PATCH v6 08/10] drm: ci: uprev IGT

Quoted 24 lines · Vignesh Raman

virtio-gpu kernel driver reports 16 for count_crtcs which exceeds IGT_MAX_PIPES set to 8 in igt-gpu-tools. This results in below memory corruption,

 malloc(): corrupted top size
 Received signal SIGABRT.
 Stack trace:
  #0 [fatal_sig_handler+0x17b]
  #1 [__sigaction+0x40]
  #2 [pthread_key_delete+0x14c]
  #3 [gsignal+0x12]
  #4 [abort+0xd3]
  #5 [__fsetlocking+0x290]
  #6 [timer_settime+0x37a]
  #7 [__default_morecore+0x1f1b]
  #8 [__libc_calloc+0x161]
  #9 [drmModeGetPlaneResources+0x44]
  #10 [igt_display_require+0x194]
  #11 [__igt_unique____real_main1356+0x93c]
  #12 [main+0x3f]
  #13 [__libc_init_first+0x8a]
  #14 [__libc_start_main+0x85]
  #15 [_start+0x21]

Quoted 6 lines

This is fixed in igt-gpu-tools by increasing IGT_MAX_PIPES to 16.
https://patchwork.freedesktop.org/series/126327/

Uprev IGT to include the patches which fixes this issue.

Thanks
Helen

Quoted 22 lines

---

v6:
- Added a new patch in the series to uprev IGT to fix memory corruption

---
  drivers/gpu/drm/ci/gitlab-ci.yml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ci/gitlab-ci.yml +1 -1
index aeb9bab1b069..dac92cc2777c 100644
@@ -5,7 +5,7 @@ variables:
    UPSTREAM_REPO: git://anongit.freedesktop.org/drm/drm
    TARGET_BRANCH: drm-next
 
-  IGT_VERSION: d1db7333d9c5fbbb05e50b0804123950d9dc1c46
+  IGT_VERSION: d2af13d9f5be5ce23d996e4afd3e45990f5ab977
 
    DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/anholt/deqp-runner.git
    DEQP_RUNNER_GIT_TAG: v0.15.0
author maintainer
#14 lore raw

PATCH v6 9/10 drm/doc: ci: Add IGT version details for flaky tests

In reply to Vignesh Raman

Document the IGT version in the flaky tests reporting template.

---

v6:
- Added a new patch in the series to update drm ci documentation

---
 Documentation/gpu/automated_testing.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Documentation/gpu/automated_testing.rst +4 -3
index 240e29d5ba68..2d5a28866afe 100644
@@ -69,14 +69,15 @@ the result. They will still be run.
 
 Each new flake entry must be associated with a link to the email reporting the
 bug to the author of the affected driver, the board name or Device Tree name of
-the board, the first kernel version affected, and an approximation of the
-failure rate.
+the board, the first kernel version affected, the IGT version used for tests,
+and an approximation of the failure rate.
 
 They should be provided under the following format::
 
   # Bug Report: $LORE_OR_PATCHWORK_URL
   # Board Name: broken-board.dtb
-  # Version: 6.6-rc1
+  # Linux Version: 6.6-rc1
+  # IGT Version: 1.28-gd2af13d9f
   # Failure Rate: 100
   flaky-test
 
Signature · 1 line
2.40.1
Acked-by on v6 9/10
#15 lore raw

Re: [PATCH v6 09/10] drm/doc: ci: Add IGT version details for flaky tests

Quoted 1 line · Vignesh Raman

Document the IGT version in the flaky tests reporting template.

Nice!

Quoted 2 lines

Thanks
Helen

Quoted 32 lines

---

v6:
- Added a new patch in the series to update drm ci documentation

---
  Documentation/gpu/automated_testing.rst | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)
Documentation/gpu/automated_testing.rst +4 -3
index 240e29d5ba68..2d5a28866afe 100644
@@ -69,14 +69,15 @@ the result. They will still be run.
 
  Each new flake entry must be associated with a link to the email reporting the
  bug to the author of the affected driver, the board name or Device Tree name of
-the board, the first kernel version affected, and an approximation of the
-failure rate.
+the board, the first kernel version affected, the IGT version used for tests,
+and an approximation of the failure rate.
 
  They should be provided under the following format::
 
    # Bug Report: $LORE_OR_PATCHWORK_URL
    # Board Name: broken-board.dtb
-  # Version: 6.6-rc1
+  # Linux Version: 6.6-rc1
+  # IGT Version: 1.28-gd2af13d9f
    # Failure Rate: 100
    flaky-test
 
author maintainer
#16 lore raw

PATCH v6 10/10 drm: ci: Update xfails

In reply to Vignesh Raman

Update msm-apq8016-fails, mediatek-mt8173-fails and virtio_gpu-none-fails to include the tests which fail.

---

v2:
- No changes

v3:
- No changes

v4:
- No changes

v5:
- Generate fails and flakes file with the updated xfails script - https://www.spinics.net/lists/kernel/msg4959630.html

v6:
- Generate fails file with drm-misc-next

---
 .../drm/ci/xfails/mediatek-mt8173-fails.txt   | 13 ++++--
 .../gpu/drm/ci/xfails/msm-apq8016-fails.txt   |  5 ++
 .../drm/ci/xfails/virtio_gpu-none-fails.txt   | 46 +++++++++++++++++++
 3 files changed, 61 insertions(+), 3 deletions(-)
drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt +10 -3
index 671916067dba..ef0cb7c3698c 100644
@@ -1,5 +1,4 @@
 kms_3d,Fail
-kms_addfb_basic@addfb25-bad-modifier,Fail
 kms_bw@linear-tiling-1-displays-1920x1080p,Fail
 kms_bw@linear-tiling-1-displays-2560x1440p,Fail
 kms_bw@linear-tiling-1-displays-3840x2160p,Fail
@@ -9,13 +8,19 @@ kms_bw@linear-tiling-2-displays-3840x2160p,Fail
 kms_bw@linear-tiling-3-displays-1920x1080p,Fail
 kms_bw@linear-tiling-3-displays-2560x1440p,Fail
 kms_bw@linear-tiling-3-displays-3840x2160p,Fail
+kms_color@invalid-gamma-lut-sizes,Fail
 kms_color@pipe-A-invalid-gamma-lut-sizes,Fail
 kms_color@pipe-B-invalid-gamma-lut-sizes,Fail
-kms_force_connector_basic@force-connector-state,Fail
+kms_cursor_legacy@cursor-vs-flip-atomic,Fail
+kms_cursor_legacy@cursor-vs-flip-legacy,Fail
+kms_flip@flip-vs-modeset-vs-hang,Fail
+kms_flip@flip-vs-panning-vs-hang,Fail
+kms_flip@flip-vs-suspend,Fail
+kms_flip@flip-vs-suspend-interruptible,Fail
 kms_force_connector_basic@force-edid,Fail
 kms_force_connector_basic@force-load-detect,Fail
 kms_force_connector_basic@prune-stale-modes,Fail
-kms_invalid_mode@int-max-clock,Fail
+kms_hdmi_inject@inject-4k,Fail
 kms_plane_scaling@planes-upscale-20x20,Fail
 kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25,Fail
 kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5,Fail
@@ -27,3 +32,5 @@ kms_properties@get_properties-sanity-atomic,Fail
 kms_properties@plane-properties-atomic,Fail
 kms_properties@plane-properties-legacy,Fail
 kms_rmfb@close-fd,Fail
+kms_selftest@drm_format,Timeout
+kms_selftest@drm_format_helper,Timeout
drivers/gpu/drm/ci/xfails/msm-apq8016-fails.txt +5 -0
index 9981682feab2..d39d254c935e 100644
@@ -6,10 +6,15 @@ kms_cursor_legacy@all-pipes-single-bo,Fail
 kms_cursor_legacy@all-pipes-single-move,Fail
 kms_cursor_legacy@all-pipes-torture-bo,Fail
 kms_cursor_legacy@all-pipes-torture-move,Fail
+kms_cursor_legacy@forked-bo,Fail
+kms_cursor_legacy@forked-move,Fail
 kms_cursor_legacy@pipe-A-forked-bo,Fail
 kms_cursor_legacy@pipe-A-forked-move,Fail
 kms_cursor_legacy@pipe-A-single-bo,Fail
 kms_cursor_legacy@pipe-A-single-move,Fail
 kms_cursor_legacy@pipe-A-torture-bo,Fail
 kms_cursor_legacy@pipe-A-torture-move,Fail
+kms_force_connector_basic@force-edid,Fail
 kms_hdmi_inject@inject-4k,Fail
+kms_selftest@drm_format,Timeout
+kms_selftest@drm_format_helper,Timeout
drivers/gpu/drm/ci/xfails/virtio_gpu-none-fails.txt +46 -0

58 lines not on this page · raw message

Signature · 1 line
2.40.1