Skip to contentSkip to conversation

drm/ci: Add support for GPU and display testing

PATCH Applied Vignesh Raman 4 participants 11 messages Jul 30, 2024 – Aug 6, 2024

Subsystems (16)
lore
Share & tools
lore

Vignesh Raman

author maintainer
#0 lore raw

v9 cover drm/ci: Add support for GPU and display testing

Some ARM SOCs have a separate display controller and GPU, each with different drivers. For mediatek mt8173, the GPU driver is powervr, and the display driver is mediatek. In the case of mediatek mt8183, the GPU driver is panfrost, and the display driver is mediatek. With rockchip rk3288/rk3399, the GPU driver is panfrost, while the display driver is rockchip. For amlogic meson G12B (A311D) SOC, the GPU driver is panfrost, and the display driver is meson.

IGT tests run various tests with different xfails and can test both GPU devices and KMS/display devices. Currently, in drm-ci for MediaTek, Rockchip, and Amlogic Meson platforms, only the GPU driver is tested. This leads to incomplete coverage since the display is never tested on these platforms. This commit series adds support in drm-ci to run tests for both GPU and display drivers for MediaTek mt8173/mt8183, Rockchip rk3288/rk3399, and Amlogic Meson G12B (A311D) platforms.

Update the expectations file, and skip driver-specific tests and tools_test on non-intel platforms.

Working pipeline link,
https://gitlab.freedesktop.org/vigneshraman/linux/-/pipelines/1235518

Vignesh Raman (6):
drm/ci: arm64.config: Enable CONFIG_DRM_ANALOGIX_ANX7625 drm/ci: skip tools_test on non-intel platforms drm/ci: mediatek: add tests for mediatek display driver drm/ci: mediatek: add tests for powervr gpu driver drm/ci: meson: add tests for meson display driver drm/ci: rockchip: add tests for rockchip display driver

 MAINTAINERS                                   |   2 +
 drivers/gpu/drm/ci/arm64.config               |   1 +
 drivers/gpu/drm/ci/gitlab-ci.yml              |   3 +-
 drivers/gpu/drm/ci/igt_runner.sh              |  10 --
 drivers/gpu/drm/ci/test.yml                   | 123 ++++++++++++++----
 .../gpu/drm/ci/xfails/amdgpu-stoney-fails.txt |   1 -
 .../gpu/drm/ci/xfails/amdgpu-stoney-skips.txt |   1 +
 .../drm/ci/xfails/mediatek-mt8173-fails.txt   |   1 -
 .../drm/ci/xfails/mediatek-mt8173-skips.txt   |   1 +
 .../drm/ci/xfails/mediatek-mt8183-fails.txt   |  28 +++-
 .../drm/ci/xfails/mediatek-mt8183-flakes.txt  |  20 +++
 .../drm/ci/xfails/mediatek-mt8183-skips.txt   |   5 +-
 .../gpu/drm/ci/xfails/meson-g12b-fails.txt    |  19 ++-
 .../gpu/drm/ci/xfails/meson-g12b-skips.txt    |   5 +-
 .../gpu/drm/ci/xfails/msm-apq8016-fails.txt   |   1 -
 .../gpu/drm/ci/xfails/msm-apq8016-skips.txt   |   1 +
 .../gpu/drm/ci/xfails/msm-apq8096-fails.txt   |   1 -
 .../gpu/drm/ci/xfails/msm-apq8096-skips.txt   |   1 +
 .../msm-sc7180-trogdor-kingoftown-fails.txt   |   1 -
 .../msm-sc7180-trogdor-kingoftown-skips.txt   |   1 +
 ...sm-sc7180-trogdor-lazor-limozeen-fails.txt |   1 -
 ...sm-sc7180-trogdor-lazor-limozeen-skips.txt |   1 +
 .../gpu/drm/ci/xfails/msm-sdm845-fails.txt    |   1 -
 .../gpu/drm/ci/xfails/msm-sdm845-skips.txt    |   1 +
 .../gpu/drm/ci/xfails/panfrost-g12b-fails.txt |   1 +
 .../gpu/drm/ci/xfails/panfrost-g12b-skips.txt |  23 ++++
 .../drm/ci/xfails/panfrost-mt8183-fails.txt   |   1 +
 .../drm/ci/xfails/panfrost-mt8183-skips.txt   |  23 ++++
 .../drm/ci/xfails/panfrost-rk3288-fails.txt   |   1 +
 .../drm/ci/xfails/panfrost-rk3288-skips.txt   |  26 ++++
 .../drm/ci/xfails/panfrost-rk3399-fails.txt   |   1 +
 .../drm/ci/xfails/panfrost-rk3399-flakes.txt  |   6 +
 .../drm/ci/xfails/panfrost-rk3399-skips.txt   |  26 ++++
 .../drm/ci/xfails/rockchip-rk3288-fails.txt   |  22 +++-
 .../drm/ci/xfails/rockchip-rk3288-flakes.txt  |   6 +
 .../drm/ci/xfails/rockchip-rk3288-skips.txt   |  55 +-------
 .../drm/ci/xfails/rockchip-rk3399-fails.txt   |  90 ++++++++++++-
 .../drm/ci/xfails/rockchip-rk3399-flakes.txt  |  50 ++++++-
 .../drm/ci/xfails/rockchip-rk3399-skips.txt   |   8 +-
 .../drm/ci/xfails/virtio_gpu-none-fails.txt   |   1 -
 .../drm/ci/xfails/virtio_gpu-none-skips.txt   |   1 +
 drivers/gpu/drm/ci/xfails/vkms-none-fails.txt |   1 -
 drivers/gpu/drm/ci/xfails/vkms-none-skips.txt |   1 +
 43 files changed, 433 insertions(+), 140 deletions(-)
 create mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8183-flakes.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-g12b-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-g12b-skips.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-mt8183-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-mt8183-skips.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3288-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3288-skips.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3399-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3399-flakes.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3399-skips.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt
Signature · 1 line
2.43.0
author maintainer
#1 lore raw

PATCH v9 1/6 drm/ci: arm64.config: Enable CONFIG_DRM_ANALOGIX_ANX7625

Enable CONFIG_DRM_ANALOGIX_ANX7625 in the arm64 defconfig to get display driver probed on the mt8183-kukui-jacuzzi-juniper machine.

arch/arm64/configs/defconfig has CONFIG_DRM_ANALOGIX_ANX7625=m, but drm-ci don't have initrd with modules, so add CONFIG_DRM_ANALOGIX_ANX7625=y in CI arm64 config.

---

v2:
- No changes

v3:
- No changes

v4:
- No changes

v5:
- No changes

v6:
- No changes

v7:
- No changes

v8:
- No changes

v9:
- No changes

---
 drivers/gpu/drm/ci/arm64.config | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/ci/arm64.config +1 -0
index 4140303d6260..66e70ced796f 100644
@@ -187,6 +187,7 @@ CONFIG_MTK_DEVAPC=y
 CONFIG_PWM_MTK_DISP=y
 CONFIG_MTK_CMDQ=y
 CONFIG_REGULATOR_DA9211=y
+CONFIG_DRM_ANALOGIX_ANX7625=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.43.0
author maintainer
#2 lore raw

PATCH v9 2/6 drm/ci: skip tools_test on non-intel platforms

In reply to Vignesh Raman

tools_test is a wrapper for running tools/intel_reg and tools/intel_l3_parity. So skip these tests on non-intel platforms and update expectaion files.

---

v9:
- New patch in the series to skip tools_test on non-intel platforms

---
 drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt                | 1 -
 drivers/gpu/drm/ci/xfails/amdgpu-stoney-skips.txt                | 1 +
 drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt              | 1 -
 drivers/gpu/drm/ci/xfails/mediatek-mt8173-skips.txt              | 1 +
 drivers/gpu/drm/ci/xfails/mediatek-mt8183-fails.txt              | 1 -
 drivers/gpu/drm/ci/xfails/mediatek-mt8183-skips.txt              | 1 +
 drivers/gpu/drm/ci/xfails/meson-g12b-fails.txt                   | 1 -
 drivers/gpu/drm/ci/xfails/meson-g12b-skips.txt                   | 1 +
 drivers/gpu/drm/ci/xfails/msm-apq8016-fails.txt                  | 1 -
 drivers/gpu/drm/ci/xfails/msm-apq8016-skips.txt                  | 1 +
 drivers/gpu/drm/ci/xfails/msm-apq8096-fails.txt                  | 1 -
 drivers/gpu/drm/ci/xfails/msm-apq8096-skips.txt                  | 1 +
 .../gpu/drm/ci/xfails/msm-sc7180-trogdor-kingoftown-fails.txt    | 1 -
 .../gpu/drm/ci/xfails/msm-sc7180-trogdor-kingoftown-skips.txt    | 1 +
 .../drm/ci/xfails/msm-sc7180-trogdor-lazor-limozeen-fails.txt    | 1 -
 .../drm/ci/xfails/msm-sc7180-trogdor-lazor-limozeen-skips.txt    | 1 +
 drivers/gpu/drm/ci/xfails/msm-sdm845-fails.txt                   | 1 -
 drivers/gpu/drm/ci/xfails/msm-sdm845-skips.txt                   | 1 +
 drivers/gpu/drm/ci/xfails/rockchip-rk3288-fails.txt              | 1 -
 drivers/gpu/drm/ci/xfails/rockchip-rk3288-skips.txt              | 1 +
 drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt              | 1 -
 drivers/gpu/drm/ci/xfails/rockchip-rk3399-skips.txt              | 1 +
 drivers/gpu/drm/ci/xfails/virtio_gpu-none-fails.txt              | 1 -
 drivers/gpu/drm/ci/xfails/virtio_gpu-none-skips.txt              | 1 +
 drivers/gpu/drm/ci/xfails/vkms-none-fails.txt                    | 1 -
 drivers/gpu/drm/ci/xfails/vkms-none-skips.txt                    | 1 +
 26 files changed, 13 insertions(+), 13 deletions(-)
drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt +0 -1
index 2f74880671ca..8e2fed6d76a3 100644
@@ -38,4 +38,3 @@ kms_plane@pixel-format,Fail
 kms_plane_cursor@primary,Fail
 kms_rotation_crc@primary-rotation-180,Fail
 perf@i915-ref-count,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/amdgpu-stoney-skips.txt +1 -0
index 931d6d1d0165..f41b3e112976 100644
@@ -13,6 +13,7 @@ nouveau_.*
 gem_.*
 i915_.*
 xe_.*
+tools_test.*
 
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt +0 -1
index 95aadef2fa2d..a14349a1967f 100644
@@ -34,4 +34,3 @@ kms_properties@get_properties-sanity-atomic,Fail
 kms_properties@plane-properties-atomic,Fail
 kms_properties@plane-properties-legacy,Fail
 kms_rmfb@close-fd,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/mediatek-mt8173-skips.txt +1 -0
index 562662eff802..8198e06344a3 100644
@@ -10,6 +10,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
drivers/gpu/drm/ci/xfails/mediatek-mt8183-fails.txt +0 -1
index 5b7d623f404b..70053ea74b5d 100644
@@ -5,4 +5,3 @@ dumb_buffer@map-invalid-size,Fail
 dumb_buffer@map-uaf,Fail
 dumb_buffer@map-valid,Fail
 panfrost/panfrost_prime@gem-prime-import,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/mediatek-mt8183-skips.txt +1 -0
index 03eefa518afa..aeec535107c1 100644
@@ -9,6 +9,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Panfrost is not a KMS driver, so skip the KMS tests
 kms_.*
drivers/gpu/drm/ci/xfails/meson-g12b-fails.txt +0 -1
index 5b7d623f404b..70053ea74b5d 100644
@@ -5,4 +5,3 @@ dumb_buffer@map-invalid-size,Fail
 dumb_buffer@map-uaf,Fail
 dumb_buffer@map-valid,Fail
 panfrost/panfrost_prime@gem-prime-import,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/meson-g12b-skips.txt +1 -0
index 03eefa518afa..aeec535107c1 100644
@@ -9,6 +9,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Panfrost is not a KMS driver, so skip the KMS tests
 kms_.*
drivers/gpu/drm/ci/xfails/msm-apq8016-fails.txt +0 -1
index b57884650306..4ac46168eff3 100644
@@ -9,4 +9,3 @@ kms_force_connector_basic@force-edid,Fail
 kms_hdmi_inject@inject-4k,Fail
 kms_lease@lease-uevent,Fail
 msm/msm_mapping@ring,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/msm-apq8016-skips.txt +1 -0
index ef7697190fff..1674c8e214d6 100644
@@ -9,6 +9,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
drivers/gpu/drm/ci/xfails/msm-apq8096-fails.txt +0 -1
index 46ca69ce2ffe..bd0653caf7a0 100644
@@ -5,4 +5,3 @@ device_reset@unbind-reset-rebind,Fail
 dumb_buffer@invalid-bpp,Fail
 kms_3d,Fail
 kms_lease@lease-uevent,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/msm-apq8096-skips.txt +1 -0
index 244324d38964..5550be5486ed 100644
@@ -12,6 +12,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-kingoftown-fails.txt +0 -1
index 8e02392a24cb..d42004cd6977 100644
@@ -43,4 +43,3 @@ kms_plane_alpha_blend@coverage-vs-premult-vs-constant,Fail
 kms_plane_lowres@tiling-none,Fail
 kms_rmfb@close-fd,Fail
 kms_vblank@ts-continuation-dpms-rpm,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-kingoftown-skips.txt +1 -0
index bd5a975a1b2f..c2833eee1c4b 100644
@@ -12,6 +12,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-lazor-limozeen-fails.txt +0 -1
index 8e02392a24cb..d42004cd6977 100644
@@ -43,4 +43,3 @@ kms_plane_alpha_blend@coverage-vs-premult-vs-constant,Fail
 kms_plane_lowres@tiling-none,Fail
 kms_rmfb@close-fd,Fail
 kms_vblank@ts-continuation-dpms-rpm,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/msm-sc7180-trogdor-lazor-limozeen-skips.txt +1 -0
index d06c3621300d..7c69c1f1d55b 100644
@@ -12,6 +12,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
drivers/gpu/drm/ci/xfails/msm-sdm845-fails.txt +0 -1
index 8f010c8a9c4f..770a1c685fde 100644
@@ -33,4 +33,3 @@ kms_plane_alpha_blend@coverage-vs-premult-vs-constant,Fail
 kms_plane_cursor@overlay,Fail
 kms_plane_cursor@viewport,Fail
 kms_rmfb@close-fd,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/msm-sdm845-skips.txt +1 -0
index 041a9637cc3e..90651048ab61 100644
@@ -17,6 +17,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
drivers/gpu/drm/ci/xfails/rockchip-rk3288-fails.txt +0 -1
index 10689906da3a..99928a24e636 100644
@@ -5,4 +5,3 @@ dumb_buffer@map-invalid-size,Crash
 dumb_buffer@map-uaf,Crash
 dumb_buffer@map-valid,Crash
 panfrost/panfrost_prime@gem-prime-import,Crash
-tools_test@tools_test,Crash
drivers/gpu/drm/ci/xfails/rockchip-rk3288-skips.txt +1 -0
index b8cb31842323..e86ff00dc58a 100644
@@ -62,6 +62,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Panfrost is not a KMS driver, so skip the KMS tests
 kms_.*
drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt +0 -1
index 5b7d623f404b..70053ea74b5d 100644
@@ -5,4 +5,3 @@ dumb_buffer@map-invalid-size,Fail
 dumb_buffer@map-uaf,Fail
 dumb_buffer@map-valid,Fail
 panfrost/panfrost_prime@gem-prime-import,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/rockchip-rk3399-skips.txt +1 -0
index 743f3eeb2f80..8f22ff6d8cb7 100644
@@ -15,6 +15,7 @@ nouveau_.*
 # Skip intel specific tests
 gem_.*
 i915_.*
+tools_test.*
 
 # Panfrost is not a KMS driver, so skip the KMS tests
 kms_.*
drivers/gpu/drm/ci/xfails/virtio_gpu-none-fails.txt +0 -1
index 248943c2a738..c72fee70e739 100644
@@ -187,4 +187,3 @@ kms_vblank@wait-forked,Fail
 kms_vblank@wait-forked-busy,Fail
 kms_vblank@wait-idle,Fail
 perf@i915-ref-count,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/virtio_gpu-none-skips.txt +1 -0
index 8198905c5fd4..9c9e048725f8 100644
@@ -18,6 +18,7 @@ nouveau_.*
 gem_.*
 i915_.*
 xe_.*
+tools_test.*
 
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
drivers/gpu/drm/ci/xfails/vkms-none-fails.txt +0 -1
index 8385b26073ed..5408110f4c60 100644
@@ -50,4 +50,3 @@ kms_writeback@writeback-fb-id-XRGB2101010,Fail
 kms_writeback@writeback-invalid-parameters,Fail
 kms_writeback@writeback-pixel-formats,Fail
 perf@i915-ref-count,Fail
-tools_test@tools_test,Fail
drivers/gpu/drm/ci/xfails/vkms-none-skips.txt +1 -0
index 6c1f2b2b6e53..5ccc771fbb36 100644
@@ -218,3 +218,4 @@ nouveau_.*
 gem_.*
 i915_.*
 xe_.*
+tools_test.*
Signature · 1 line
2.43.0
author maintainer
#3 lore raw

PATCH v9 3/6 drm/ci: mediatek: add tests for mediatek display driver

In reply to Vignesh Raman

For mediatek mt8183, the display driver is mediatek, while the gpu driver is panfrost. Currently, in drm-ci for mt8183, only the gpu driver is tested. Refactor the existing mediatek jobs and add support in drm-ci to test both display and gpu driver for mt8183 and update xfails.

Since the correct driver name is passed from the job to test gpu and display driver, remove the check to set IGT_FORCE_DRIVER based on driver name for mediatek jobs.

Update the MAINTAINERS file to include xfails for panfrost driver.

---

v2:
- Refactor the patch to rename job to indicate display driver testing, rename the existing xfail files, and remove IGT_FORCE_DRIVER from the script since it's now set by the job.

v3:
- Add the job name in GPU_VERSION and use it for xfail file names instead of using DRIVER_NAME. Also update xfails.

v4:
- Remove the display suffix in job and rename xfails accordingly. Remove the change adding job name in GPU_VERSION.

v5:
- Add mediatek-display job.

v6:
- Squash commits for display and gpu driver testing. Reword the commit message.

v7:
- Rebase with recent drm-ci fixes and retest with latest IGT.

v8:
- Add header for each flaky test.

v9:
- Skip display functionality tests for GPU-only drivers and update expectation files.

---
 MAINTAINERS                                   |  1 +
 drivers/gpu/drm/ci/gitlab-ci.yml              |  2 +-
 drivers/gpu/drm/ci/igt_runner.sh              |  7 ----
 drivers/gpu/drm/ci/test.yml                   | 38 +++++++++++++++----
 .../drm/ci/xfails/mediatek-mt8183-fails.txt   | 27 ++++++++++---
 .../drm/ci/xfails/mediatek-mt8183-flakes.txt  | 20 ++++++++++
 .../drm/ci/xfails/mediatek-mt8183-skips.txt   |  4 +-
 .../drm/ci/xfails/panfrost-mt8183-fails.txt   |  1 +
 .../drm/ci/xfails/panfrost-mt8183-skips.txt   | 23 +++++++++++
 9 files changed, 99 insertions(+), 24 deletions(-)
 create mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8183-flakes.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-mt8183-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-mt8183-skips.txt
MAINTAINERS +1 -0
index cb8355f20b36..f3783f2269ff 100644
@@ -1741,6 +1741,7 @@ L:	[email protected]
 S:	Supported
 T:	git https://gitlab.freedesktop.org/drm/misc/kernel.git
 F:	Documentation/gpu/panfrost.rst
+F:	drivers/gpu/drm/ci/xfails/panfrost*
 F:	drivers/gpu/drm/panfrost/
 F:	include/uapi/drm/panfrost_drm.h
 
drivers/gpu/drm/ci/gitlab-ci.yml +1 -1
index b09976c3d2c2..9d800f629f08 100644
@@ -121,8 +121,8 @@ stages:
   - mediatek
   - meson
   - msm
+  - panfrost
   - rockchip
-  - virtio-gpu
   - software-driver
 
 # YAML anchors for rule conditions
drivers/gpu/drm/ci/igt_runner.sh +0 -7
index 37c724dba8cb..6193865f23a3 100755
@@ -23,13 +23,6 @@ case "$DRIVER_NAME" in
     rockchip|meson)
         export IGT_FORCE_DRIVER="panfrost"
         ;;
-    mediatek)
-        if [ "$GPU_VERSION" = "mt8173" ]; then
-            export IGT_FORCE_DRIVER=${DRIVER_NAME}
-        elif [ "$GPU_VERSION" = "mt8183" ]; then
-            export IGT_FORCE_DRIVER="panfrost"
-        fi
-        ;;
     amdgpu|vkms)
         # Cannot use HWCI_KERNEL_MODULES as at that point we don't have the module in /lib
         mv /install/modules/lib/modules/* /lib/modules/. || true
drivers/gpu/drm/ci/test.yml +31 -7
index ee908b66aad2..219eca5ef24c 100644
@@ -280,38 +280,62 @@ amdgpu:stoney:
     GPU_VERSION: stoney
     RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
 
-.mediatek:
+.mediatek-device:
   extends:
     - .lava-igt:arm64
   stage: mediatek
   variables:
-    DRIVER_NAME: mediatek
     DTB: ${DEVICE_TYPE}
     BOOT_METHOD: depthcharge
     KERNEL_IMAGE_TYPE: ""
 
-mediatek:mt8173:
+.mediatek-display:
+  stage: mediatek
+  variables:
+    DRIVER_NAME: mediatek
+
+.panfrost-gpu:
+  stage: panfrost
+  variables:
+    DRIVER_NAME: panfrost
+
+.mt8173:
   extends:
-    - .mediatek
+    - .mediatek-device
   parallel: 4
   variables:
     DEVICE_TYPE: mt8173-elm-hana
     GPU_VERSION: mt8173
     RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
 
-mediatek:mt8183:
+.mt8183:
   extends:
-    - .mediatek
+    - .mediatek-device
   parallel: 3
   variables:
     DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
     GPU_VERSION: mt8183
     RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
 
+mediatek:mt8173:
+  extends:
+    - .mt8173
+    - .mediatek-display
+
+mediatek:mt8183:
+  extends:
+    - .mt8183
+    - .mediatek-display
+
+panfrost:mt8183:
+  extends:
+    - .mt8183
+    - .panfrost-gpu
+
 # drm-mtk doesn't even probe yet in mainline for mt8192
 .mediatek:mt8192:
   extends:
-    - .mediatek
+    - .mediatek-device
   parallel: 3
   variables:
     DEVICE_TYPE: mt8192-asurada-spherion-r0
drivers/gpu/drm/ci/xfails/mediatek-mt8183-fails.txt +21 -6
index 70053ea74b5d..8cb2cb67853d 100644
@@ -1,7 +1,22 @@
-dumb_buffer@create-clear,Fail
-dumb_buffer@create-valid-dumb,Fail
+core_setmaster@master-drop-set-shared-fd,Fail
+device_reset@cold-reset-bound,Fail
+device_reset@reset-bound,Fail
+device_reset@unbind-cold-reset-rebind,Fail
+device_reset@unbind-reset-rebind,Fail
+dumb_buffer@create-clear,Crash
 dumb_buffer@invalid-bpp,Fail
-dumb_buffer@map-invalid-size,Fail
-dumb_buffer@map-uaf,Fail
-dumb_buffer@map-valid,Fail
-panfrost/panfrost_prime@gem-prime-import,Fail
+fbdev@eof,Fail
+fbdev@pan,Fail
+fbdev@read,Fail
+fbdev@unaligned-read,Fail
+kms_bw@connected-linear-tiling-1-displays-1920x1080p,Fail
+kms_bw@connected-linear-tiling-1-displays-2160x1440p,Fail
+kms_bw@connected-linear-tiling-1-displays-2560x1440p,Fail
+kms_bw@linear-tiling-1-displays-1920x1080p,Fail
+kms_bw@linear-tiling-1-displays-3840x2160p,Fail
+kms_color@invalid-gamma-lut-sizes,Fail
+kms_flip@flip-vs-panning-vs-hang,Fail
+kms_flip@flip-vs-suspend,Fail
+kms_lease@lease-uevent,Fail
+kms_properties@plane-properties-atomic,Fail
+kms_rmfb@close-fd,Fail
drivers/gpu/drm/ci/xfails/mediatek-mt8183-flakes.txt new file +20 -0
new file mode 100644
index 000000000000..df7e5ce7a036
@@ -0,0 +1,20 @@
+# Board Name: mt8183-kukui-jacuzzi-juniper-sku16
+# Bug Report: https://lore.kernel.org/linux-mediatek/[email protected]/T/#u
+# Failure Rate: 100
+# IGT Version: 1.28-gf13702b8e
+# Linux Version: 6.10.0-rc5
+kms_bw@linear-tiling-1-displays-2560x1440p
+
+# Board Name: mt8183-kukui-jacuzzi-juniper-sku16
+# Bug Report: https://lore.kernel.org/linux-mediatek/[email protected]/T/#u
+# Failure Rate: 100
+# IGT Version: 1.28-gf13702b8e
+# Linux Version: 6.10.0-rc5
+kms_cursor_legacy@cursor-vs-flip-atomic-transitions
+
+# Board Name: mt8183-kukui-jacuzzi-juniper-sku16
+# Bug Report: https://lore.kernel.org/linux-mediatek/[email protected]/T/#u
+# Failure Rate: 100
+# IGT Version: 1.28-gf13702b8e
+# Linux Version: 6.10.0-rc5
+fbdev@write
drivers/gpu/drm/ci/xfails/mediatek-mt8183-skips.txt +1 -3
index aeec535107c1..8198e06344a3 100644
@@ -2,6 +2,7 @@
 ^amdgpu.*
 ^msm.*
 nouveau_.*
+^panfrost.*
 ^v3d.*
 ^vc4.*
 ^vmwgfx*
@@ -11,9 +12,6 @@ gem_.*
 i915_.*
 tools_test.*
 
-# Panfrost is not a KMS driver, so skip the KMS tests
-kms_.*
-
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
 core_hotunplug.*
drivers/gpu/drm/ci/xfails/panfrost-mt8183-fails.txt new file +1 -0
new file mode 100644
index 000000000000..fe8ce2ce33e6
@@ -0,0 +1 @@
+panfrost/panfrost_prime@gem-prime-import,Fail
drivers/gpu/drm/ci/xfails/panfrost-mt8183-skips.txt new file +23 -0
new file mode 100644
index 000000000000..3c7e494857b5
@@ -0,0 +1,23 @@
+# Skip driver specific tests
+^amdgpu.*
+^msm.*
+nouveau_.*
+^v3d.*
+^vc4.*
+^vmwgfx*
+
+# Skip intel specific tests
+gem_.*
+i915_.*
+tools_test.*
+
+# Panfrost is not a KMS driver, so skip the KMS tests
+kms_.*
+
+# Skip display functionality tests for GPU-only drivers
+dumb_buffer.*
+fbdev.*
+
+# Currently fails and causes coverage loss for other tests
+# since core_getversion also fails.
+core_hotunplug.*
Signature · 1 line
2.43.0
author maintainer
#4 lore raw

PATCH v9 4/6 drm/ci: mediatek: add tests for powervr gpu driver

In reply to Vignesh Raman

For mediatek mt8173, the display driver is mediatek, while the gpu driver is powervr. Currently, in drm-ci for mt8173, only the display driver is tested. Add support in drm-ci to test powervr driver for mt8173. Powervr driver was merged in linux kernel, but there's no mediatek support yet. So disable the powervr:mt8173 job which uses powervr driver.

Also update the MAINTAINERS file to include xfails for powervr driver.

---

v6:
- New patch in the series. Split powervr changes into a new commit.

v7:
- No changes.

v8:
- No changes.

v9:
- No changes.

---
 MAINTAINERS                      |  1 +
 drivers/gpu/drm/ci/gitlab-ci.yml |  1 +
 drivers/gpu/drm/ci/test.yml      | 14 ++++++++++++++
 3 files changed, 16 insertions(+)
MAINTAINERS +1 -0
index f3783f2269ff..05f72eaf5267 100644
@@ -10778,6 +10778,7 @@ T:	git https://gitlab.freedesktop.org/drm/misc/kernel.git
 F:	Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
 F:	Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml
 F:	Documentation/gpu/imagination/
+F:	drivers/gpu/drm/ci/xfails/powervr*
 F:	drivers/gpu/drm/imagination/
 F:	include/uapi/drm/pvr_drm.h
 
drivers/gpu/drm/ci/gitlab-ci.yml +1 -0
index 9d800f629f08..ca7f873bc2d4 100644
@@ -122,6 +122,7 @@ stages:
   - meson
   - msm
   - panfrost
+  - powervr
   - rockchip
   - software-driver
 
drivers/gpu/drm/ci/test.yml +14 -0
index 219eca5ef24c..86875fb96eb5 100644
@@ -294,6 +294,11 @@ amdgpu:stoney:
   variables:
     DRIVER_NAME: mediatek
 
+.powervr-gpu:
+  stage: powervr
+  variables:
+    DRIVER_NAME: powervr
+
 .panfrost-gpu:
   stage: panfrost
   variables:
@@ -322,6 +327,15 @@ mediatek:mt8173:
     - .mt8173
     - .mediatek-display
 
+powervr:mt8173:
+  extends:
+    - .mt8173
+    - .powervr-gpu
+  rules:
+    # TODO: powervr driver was merged in linux kernel, but there's no mediatek support yet
+    # Remove the rule once mediatek support is added for powervr
+    - when: never
+
 mediatek:mt8183:
   extends:
     - .mt8183
Signature · 1 line
2.43.0
author maintainer
#5 lore raw

PATCH v9 5/6 drm/ci: meson: add tests for meson display driver

In reply to Vignesh Raman

For Amlogic Meson G12B (A311D) SOC the display driver is meson and gpu driver is panfrost. Currently, in drm-ci for Meson G12B (A311D), only the gpu driver is tested. Refactor the existing meson jobs and add support in drm-ci to test both display and gpu driver for Amlogic Meson G12B (A311D) and update xfails.

Since the correct driver name is passed from the job to test gpu and display driver, remove the check to set IGT_FORCE_DRIVER based on driver name for meson jobs.

---

v2:
- Refactor the patch to rename job to indicate display driver testing, rename the existing xfail files.

v3:
- Add the job name in GPU_VERSION and use it for xfail file names instead of using DRIVER_NAME.

v4:
- Remove the display suffix in job and rename xfails accordingly. Remove the change adding job name in GPU_VERSION.

v5:
- Add meson-display job.

v6:
- Squash commits for display and gpu driver testing. Reword the commit message.

v7:
- Rebase with recent drm-ci fixes and retest with latest IGT.

v8:
- No changes.

v9:
- Skip display functionality tests for GPU-only drivers.

---
 drivers/gpu/drm/ci/igt_runner.sh              |  2 +-
 drivers/gpu/drm/ci/test.yml                   | 23 +++++++++++++++----
 .../gpu/drm/ci/xfails/meson-g12b-fails.txt    | 18 ++++++++++-----
 .../gpu/drm/ci/xfails/meson-g12b-skips.txt    |  4 +---
 .../gpu/drm/ci/xfails/panfrost-g12b-fails.txt |  1 +
 .../gpu/drm/ci/xfails/panfrost-g12b-skips.txt | 23 +++++++++++++++++++
 6 files changed, 56 insertions(+), 15 deletions(-)
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-g12b-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-g12b-skips.txt
drivers/gpu/drm/ci/igt_runner.sh +1 -1
index 6193865f23a3..1578a2a47a54 100755
@@ -20,7 +20,7 @@ cat /sys/kernel/debug/dri/*/state
 set -e
 
 case "$DRIVER_NAME" in
-    rockchip|meson)
+    rockchip)
         export IGT_FORCE_DRIVER="panfrost"
         ;;
     amdgpu|vkms)
drivers/gpu/drm/ci/test.yml +18 -5
index 86875fb96eb5..5ccf57b3bf91 100644
@@ -356,25 +356,38 @@ panfrost:mt8183:
     GPU_VERSION: mt8192
     RUNNER_TAG: mesa-ci-x86-64-lava-mt8192-asurada-spherion-r0
 
-.meson:
+.meson-device:
   extends:
     - .lava-igt:arm64
-  stage: meson
   variables:
-    DRIVER_NAME: meson
     DTB: ${DEVICE_TYPE}
     BOOT_METHOD: u-boot
     KERNEL_IMAGE_TYPE: "image"
 
-meson:g12b:
+.meson-display:
+  stage: meson
+  variables:
+    DRIVER_NAME: meson
+
+.g12b:
   extends:
-    - .meson
+    - .meson-device
   parallel: 3
   variables:
     DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
     GPU_VERSION: g12b
     RUNNER_TAG: mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
 
+meson:g12b:
+  extends:
+    - .g12b
+    - .meson-display
+
+panfrost:g12b:
+  extends:
+    - .g12b
+    - .panfrost-gpu
+
 virtio_gpu:none:
   stage: software-driver
   variables:
drivers/gpu/drm/ci/xfails/meson-g12b-fails.txt +12 -6
index 70053ea74b5d..328967d3e23d 100644
@@ -1,7 +1,13 @@
-dumb_buffer@create-clear,Fail
-dumb_buffer@create-valid-dumb,Fail
 dumb_buffer@invalid-bpp,Fail
-dumb_buffer@map-invalid-size,Fail
-dumb_buffer@map-uaf,Fail
-dumb_buffer@map-valid,Fail
-panfrost/panfrost_prime@gem-prime-import,Fail
+kms_3d,Fail
+kms_cursor_legacy@forked-bo,Fail
+kms_cursor_legacy@forked-move,Fail
+kms_cursor_legacy@single-bo,Fail
+kms_cursor_legacy@single-move,Fail
+kms_cursor_legacy@torture-bo,Fail
+kms_cursor_legacy@torture-move,Fail
+kms_lease@lease-uevent,Fail
+kms_properties@connector-properties-atomic,Fail
+kms_properties@connector-properties-legacy,Fail
+kms_properties@get_properties-sanity-atomic,Fail
+kms_properties@get_properties-sanity-non-atomic,Fail
drivers/gpu/drm/ci/xfails/meson-g12b-skips.txt +1 -3
index aeec535107c1..8198e06344a3 100644
@@ -2,6 +2,7 @@
 ^amdgpu.*
 ^msm.*
 nouveau_.*
+^panfrost.*
 ^v3d.*
 ^vc4.*
 ^vmwgfx*
@@ -11,9 +12,6 @@ gem_.*
 i915_.*
 tools_test.*
 
-# Panfrost is not a KMS driver, so skip the KMS tests
-kms_.*
-
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
 core_hotunplug.*
drivers/gpu/drm/ci/xfails/panfrost-g12b-fails.txt new file +1 -0
new file mode 100644
index 000000000000..fe8ce2ce33e6
@@ -0,0 +1 @@
+panfrost/panfrost_prime@gem-prime-import,Fail
drivers/gpu/drm/ci/xfails/panfrost-g12b-skips.txt new file +23 -0
new file mode 100644
index 000000000000..3c7e494857b5
@@ -0,0 +1,23 @@
+# Skip driver specific tests
+^amdgpu.*
+^msm.*
+nouveau_.*
+^v3d.*
+^vc4.*
+^vmwgfx*
+
+# Skip intel specific tests
+gem_.*
+i915_.*
+tools_test.*
+
+# Panfrost is not a KMS driver, so skip the KMS tests
+kms_.*
+
+# Skip display functionality tests for GPU-only drivers
+dumb_buffer.*
+fbdev.*
+
+# Currently fails and causes coverage loss for other tests
+# since core_getversion also fails.
+core_hotunplug.*
Signature · 1 line
2.43.0
author maintainer
#6 lore raw

PATCH v9 6/6 drm/ci: rockchip: add tests for rockchip display driver

In reply to Vignesh Raman

For rockchip rk3288 and rk3399, the display driver is rockchip and gpu driver is panfrost. Currently, in drm-ci for rockchip rk3288 and rk3399, only the gpu driver is tested. Refactor the existing rockchip jobs to test both display and gpu driver and update xfails.

Since the correct driver name is passed from the job to test gpu and display driver, remove the check to set IGT_FORCE_DRIVER based on driver name for rockchip jobs.

---

v2:
- Refactor the patch to rename job to indicate display driver testing, rename the existing xfail files.

v3:
- Add the job name in GPU_VERSION and use it for xfail file names instead of using DRIVER_NAME. Also update xfails.

v4:
- Remove the display suffix in job and rename xfails accordingly. Remove the change adding job name in GPU_VERSION.

v5:
- Add rockchip-display job and skip driver-specfic tests.

v6:
- Squash commits for display and gpu driver testing. Reword the commit message.

v7:
- Rebase with recent drm-ci fixes and retest with latest IGT.

v8:
- Add the link to the flaky test bug report and add header for each flaky test.

v9:
- Skip display functionality tests for GPU-only drivers and update expectation files.

---
 drivers/gpu/drm/ci/igt_runner.sh              |  3 -
 drivers/gpu/drm/ci/test.yml                   | 48 +++++++---
 .../drm/ci/xfails/panfrost-rk3288-fails.txt   |  1 +
 .../drm/ci/xfails/panfrost-rk3288-skips.txt   | 26 ++++++
 .../drm/ci/xfails/panfrost-rk3399-fails.txt   |  1 +
 .../drm/ci/xfails/panfrost-rk3399-flakes.txt  |  6 ++
 .../drm/ci/xfails/panfrost-rk3399-skips.txt   | 26 ++++++
 .../drm/ci/xfails/rockchip-rk3288-fails.txt   | 21 +++--
 .../drm/ci/xfails/rockchip-rk3288-flakes.txt  |  6 ++
 .../drm/ci/xfails/rockchip-rk3288-skips.txt   | 54 +----------
 .../drm/ci/xfails/rockchip-rk3399-fails.txt   | 89 +++++++++++++++++--
 .../drm/ci/xfails/rockchip-rk3399-flakes.txt  | 50 ++++++++++-
 .../drm/ci/xfails/rockchip-rk3399-skips.txt   |  7 +-
 13 files changed, 249 insertions(+), 89 deletions(-)
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3288-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3288-skips.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3399-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3399-flakes.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3399-skips.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt
drivers/gpu/drm/ci/igt_runner.sh +0 -3
index 1578a2a47a54..f38836ec837c 100755
@@ -20,9 +20,6 @@ cat /sys/kernel/debug/dri/*/state
 set -e
 
 case "$DRIVER_NAME" in
-    rockchip)
-        export IGT_FORCE_DRIVER="panfrost"
-        ;;
     amdgpu|vkms)
         # Cannot use HWCI_KERNEL_MODULES as at that point we don't have the module in /lib
         mv /install/modules/lib/modules/* /lib/modules/. || true
drivers/gpu/drm/ci/test.yml +36 -12

69 lines not on this page · raw message

drivers/gpu/drm/ci/xfails/panfrost-rk3288-fails.txt new file +1 -0
new file mode 100644
index 000000000000..4a2f4b6b14c1
@@ -0,0 +1 @@
+panfrost/panfrost_prime@gem-prime-import,Crash
drivers/gpu/drm/ci/xfails/panfrost-rk3288-skips.txt new file +26 -0
new file mode 100644
index 000000000000..feeed89b6c3f
@@ -0,0 +1,26 @@
+# Suspend to RAM seems to be broken on this machine
+.*suspend.*
+
+# Skip driver specific tests
+^amdgpu.*
+^msm.*
+nouveau_.*
+^v3d.*
+^vc4.*
+^vmwgfx*
+
+# Skip intel specific tests
+gem_.*
+i915_.*
+tools_test.*
+
+# Panfrost is not a KMS driver, so skip the KMS tests
+kms_.*
+
+# Skip display functionality tests for GPU-only drivers
+dumb_buffer.*
+fbdev.*
+
+# Currently fails and causes coverage loss for other tests
+# since core_getversion also fails.
+core_hotunplug.*
drivers/gpu/drm/ci/xfails/panfrost-rk3399-fails.txt new file +1 -0
new file mode 100644
index 000000000000..fe8ce2ce33e6
@@ -0,0 +1 @@
+panfrost/panfrost_prime@gem-prime-import,Fail
drivers/gpu/drm/ci/xfails/panfrost-rk3399-flakes.txt new file +6 -0
new file mode 100644
index 000000000000..ac4f8f7244d4
@@ -0,0 +1,6 @@
+# Board Name: rk3399-gru-kevin
+# Bug Report: https://lore.kernel.org/dri-devel/[email protected]/T/#u
+# Failure Rate: 50
+# IGT Version: 1.28-g0df7b9b97
+# Linux Version: 6.9.0-rc7
+panfrost/panfrost_submit@pan-unhandled-pagefault
drivers/gpu/drm/ci/xfails/panfrost-rk3399-skips.txt new file +26 -0
new file mode 100644
index 000000000000..feeed89b6c3f
@@ -0,0 +1,26 @@
+# Suspend to RAM seems to be broken on this machine
+.*suspend.*
+
+# Skip driver specific tests
+^amdgpu.*
+^msm.*
+nouveau_.*
+^v3d.*
+^vc4.*
+^vmwgfx*
+
+# Skip intel specific tests
+gem_.*
+i915_.*
+tools_test.*
+
+# Panfrost is not a KMS driver, so skip the KMS tests
+kms_.*
+
+# Skip display functionality tests for GPU-only drivers
+dumb_buffer.*
+fbdev.*
+
+# Currently fails and causes coverage loss for other tests
+# since core_getversion also fails.
+core_hotunplug.*
drivers/gpu/drm/ci/xfails/rockchip-rk3288-fails.txt +16 -5
index 99928a24e636..ea7b2ceb95b9 100644
@@ -1,7 +1,18 @@
+core_setmaster@master-drop-set-root,Crash
+core_setmaster@master-drop-set-user,Crash
+core_setmaster_vs_auth,Crash
+device_reset@cold-reset-bound,Crash
+device_reset@reset-bound,Crash
+device_reset@unbind-cold-reset-rebind,Crash
+device_reset@unbind-reset-rebind,Crash
 dumb_buffer@create-clear,Crash
-dumb_buffer@create-valid-dumb,Crash
 dumb_buffer@invalid-bpp,Crash
-dumb_buffer@map-invalid-size,Crash
-dumb_buffer@map-uaf,Crash
-dumb_buffer@map-valid,Crash
-panfrost/panfrost_prime@gem-prime-import,Crash
+fbdev@pan,Crash
+kms_cursor_crc@cursor-onscreen-32x10,Crash
+kms_cursor_crc@cursor-onscreen-32x32,Crash
+kms_cursor_crc@cursor-random-32x10,Crash
+kms_cursor_crc@cursor-sliding-32x32,Crash
+kms_cursor_legacy@basic-flip-before-cursor-atomic,Fail
+kms_cursor_legacy@cursor-vs-flip-legacy,Fail
+kms_prop_blob@invalid-set-prop,Crash
+kms_prop_blob@invalid-set-prop-any,Crash
drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt new file +6 -0
new file mode 100644
index 000000000000..7ede273aab20
@@ -0,0 +1,6 @@
+# Board Name: rk3288-veyron-jaq
+# Bug Report: https://lore.kernel.org/linux-rockchip/[email protected]/T/#u
+# Failure Rate: 100
+# IGT Version: 1.28-gf13702b8e
+# Linux Version: 6.10.0-rc5
+kms_cursor_legacy@flip-vs-cursor-atomic
drivers/gpu/drm/ci/xfails/rockchip-rk3288-skips.txt +1 -53

70 lines not on this page · raw message

drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt +83 -6

90 lines not on this page · raw message

drivers/gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt +46 -4

52 lines not on this page · raw message

drivers/gpu/drm/ci/xfails/rockchip-rk3399-skips.txt +1 -6
index 8f22ff6d8cb7..eb16b29dee48 100644
@@ -1,13 +1,11 @@
 # Suspend to RAM seems to be broken on this machine
 .*suspend.*
 
-# Too unstable, machine ends up hanging after lots of Oopses
-kms_cursor_legacy.*
-
 # Skip driver specific tests
 ^amdgpu.*
 ^msm.*
 nouveau_.*
+^panfrost.*
 ^v3d.*
 ^vc4.*
 ^vmwgfx*
@@ -17,9 +15,6 @@ gem_.*
 i915_.*
 tools_test.*
 
-# Panfrost is not a KMS driver, so skip the KMS tests
-kms_.*
-
 # Currently fails and causes coverage loss for other tests
 # since core_getversion also fails.
 core_hotunplug.*
Signature · 1 line
2.43.0
#7 lore raw

✗ Fi.CI.CHECKPATCH: warning for drm/ci: Add support for GPU and display testing

In reply to Vignesh Raman
== Series Details ==

== Series Details ==

Series: drm/ci: Add support for GPU and display testing
URL : https://patchwork.freedesktop.org/series/136646/
State : warning

== Summary ==

Error: dim checkpatch failed
e01c2a173ab0 drm/ci: arm64.config: Enable CONFIG_DRM_ANALOGIX_ANX7625
737505e036bc drm/ci: skip tools_test on non-intel platforms
4d01eed7c465 drm/ci: mediatek: add tests for mediatek display driver
-:172: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #172:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 186 lines checked
9d0960bcc1f6 drm/ci: mediatek: add tests for powervr gpu driver
6a620d12d1fd drm/ci: meson: add tests for meson display driver
-:126: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #126:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 110 lines checked
20dd12a87712 drm/ci: rockchip: add tests for rockchip display driver
-:107: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #107:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 402 lines checked

#8 lore raw

✗ Fi.CI.BAT: failure for drm/ci: Add support for GPU and display testing

In reply to Vignesh Raman
== Series Details ==

== Series Details ==

Series: drm/ci: Add support for GPU and display testing
URL : https://patchwork.freedesktop.org/series/136646/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_15151 -> Patchwork_136646v1
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_136646v1 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in Patchwork_136646v1, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_136646v1/index.html

Participating hosts (41 -> 38)
------------------------------

Additional (2): fi-tgl-1115g4 fi-elk-e7500
Missing (5): fi-kbl-7567u fi-snb-2520m fi-glk-j4005 fi-cfl-8109u bat-mtlp-6

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_136646v1:

### IGT changes ###

#### Possible regressions ####

* igt@runner@aborted:
- fi-elk-e7500: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_136646v1/fi-elk-e7500/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [FAIL][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_136646v1/fi-tgl-1115g4/igt@[email protected]

Known issues
------------

Here are the changes found in Patchwork_136646v1 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@i915_selftest@live@hangcheck:
- bat-arls-2: [PASS][3] -> [DMESG-WARN][4] ([i915#11349] / [i915#11378])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15151/bat-arls-2/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_136646v1/bat-arls-2/igt@i915_selftest@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@gt_lrc:
- bat-twl-2: [INCOMPLETE][5] ([i915#9413]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15151/bat-twl-2/igt@i915_selftest@live@gt_lrc.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_136646v1/bat-twl-2/igt@i915_selftest@live@gt_lrc.html

* igt@i915_selftest@live@gt_mocs:
- {bat-arlh-3}: [INCOMPLETE][7] -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15151/bat-arlh-3/igt@i915_selftest@live@gt_mocs.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_136646v1/bat-arlh-3/igt@i915_selftest@live@gt_mocs.html

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[i915#11349]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11349
[i915#11378]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11378
[i915#9413]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9413

Build changes
-------------

* Linux: CI_DRM_15151 -> Patchwork_136646v1

CI-20190529: 20190529
CI_DRM_15151: b6f9528c7fffc2f65c8e4969d35d9346fd503c9b @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7942: 0f02dc176959e6296866b1bafd3982e277a5e44b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_136646v1: b6f9528c7fffc2f65c8e4969d35d9346fd503c9b @ git://anongit.freedesktop.org/gfx-ci/linux

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_136646v1/index.html

Reviewed-by on the v9 series
#9 lore raw
In reply to Vignesh Raman

Hi Vignesh,

Quoted 16 lines · Vignesh Raman

Some ARM SOCs have a separate display controller and GPU, each with different drivers. For mediatek mt8173, the GPU driver is powervr, and the display driver is mediatek. In the case of mediatek mt8183, the GPU driver is panfrost, and the display driver is mediatek. With rockchip rk3288/rk3399, the GPU driver is panfrost, while the display driver is rockchip. For amlogic meson G12B (A311D) SOC, the GPU driver is panfrost, and the display driver is meson.

IGT tests run various tests with different xfails and can test both GPU devices and KMS/display devices. Currently, in drm-ci for MediaTek, Rockchip, and Amlogic Meson platforms, only the GPU driver is tested. This leads to incomplete coverage since the display is never tested on these platforms. This commit series adds support in drm-ci to run tests for both GPU and display drivers for MediaTek mt8173/mt8183, Rockchip rk3288/rk3399, and Amlogic Meson G12B (A311D) platforms.

Quoted 2 lines

Update the expectations file, and skip driver-specific tests and tools_test on non-intel platforms.

Thanks, series looks sensible and is:

Cheers,
Daniel

Applied
#10 lore raw
Quoted 19 lines · Daniel Stone

Hi Vignesh,

Quoted 16 lines · Vignesh Raman

Some ARM SOCs have a separate display controller and GPU, each with different drivers. For mediatek mt8173, the GPU driver is powervr, and the display driver is mediatek. In the case of mediatek mt8183, the GPU driver is panfrost, and the display driver is mediatek. With rockchip rk3288/rk3399, the GPU driver is panfrost, while the display driver is rockchip. For amlogic meson G12B (A311D) SOC, the GPU driver is panfrost, and the display driver is meson.

IGT tests run various tests with different xfails and can test both GPU devices and KMS/display devices. Currently, in drm-ci for MediaTek, Rockchip, and Amlogic Meson platforms, only the GPU driver is tested. This leads to incomplete coverage since the display is never tested on these platforms. This commit series adds support in drm-ci to run tests for both GPU and display drivers for MediaTek mt8173/mt8183, Rockchip rk3288/rk3399, and Amlogic Meson G12B (A311D) platforms.

Quoted 8 lines
Quoted 2 lines

Update the expectations file, and skip driver-specific tests and tools_test on non-intel platforms.

Thanks, series looks sensible and is:

Cheers,
Daniel

Applied to drm-misc-next

Thanks
Helen