[PATCH v2 3/7] drm/ci: mediatek: Add job to test panfrost and powervr GPU driver

Vignesh Raman vignesh.raman at collabora.com
Tue Jan 16 01:54:35 PST 2024


For mediatek mt8173, the GPU driver is powervr and for mediatek
mt8183, the GPU driver is panfrost. So add support in drm-ci to
test panfrost and powervr GPU driver for mediatek SOCs and update
xfails. Powervr driver was merged in linux kernel, but there's no
mediatek support yet. So disable the mt8173-gpu job which uses
powervr driver.

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

Signed-off-by: Vignesh Raman <vignesh.raman at collabora.com>
---

v2:
  - Add panfrost and PVR GPU jobs for mediatek SOC with new xfails, add xfail
    entry to MAINTAINERS.

---
 MAINTAINERS                                    |  1 +
 drivers/gpu/drm/ci/test.yml                    | 18 ++++++++++++++++++
 .../ci/xfails/panfrost-mt8183-gpu-fails.txt    | 13 +++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-mt8183-gpu-fails.txt

diff --git a/MAINTAINERS b/MAINTAINERS
index 9d959a6881f7..bcdc17d1aa26 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1645,6 +1645,7 @@ L:	dri-devel at lists.freedesktop.org
 S:	Supported
 T:	git git://anongit.freedesktop.org/drm/drm-misc
 F:	Documentation/gpu/panfrost.rst
+F:	drivers/gpu/drm/ci/xfails/panfrost*
 F:	drivers/gpu/drm/panfrost/
 F:	include/uapi/drm/panfrost_drm.h
 
diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
index e3aaec06a65d..65578427355d 100644
--- a/drivers/gpu/drm/ci/test.yml
+++ b/drivers/gpu/drm/ci/test.yml
@@ -299,6 +299,17 @@ amdgpu:stoney:
     DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
     RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
 
+mediatek:mt8173-gpu:
+  extends:
+    - .mt8173
+  variables:
+    GPU_VERSION: mt8173-gpu
+    DRIVER_NAME: powervr
+  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:mt8173-display:
   extends:
     - .mt8173
@@ -306,6 +317,13 @@ mediatek:mt8173-display:
     GPU_VERSION: mt8173-display
     DRIVER_NAME: mediatek
 
+mediatek:mt8183-gpu:
+  extends:
+    - .mt8183
+  variables:
+    GPU_VERSION: mt8183-gpu
+    DRIVER_NAME: panfrost
+
 mediatek:mt8183-display:
   extends:
     - .mt8183
diff --git a/drivers/gpu/drm/ci/xfails/panfrost-mt8183-gpu-fails.txt b/drivers/gpu/drm/ci/xfails/panfrost-mt8183-gpu-fails.txt
new file mode 100644
index 000000000000..67d690fc4037
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/panfrost-mt8183-gpu-fails.txt
@@ -0,0 +1,13 @@
+kms_addfb_basic at addfb25-bad-modifier,Fail
+kms_bw at linear-tiling-1-displays-2560x1440p,Fail
+kms_bw at linear-tiling-2-displays-1920x1080p,Fail
+kms_bw at linear-tiling-2-displays-2560x1440p,Fail
+kms_bw at linear-tiling-2-displays-3840x2160p,Fail
+kms_bw at linear-tiling-3-displays-2560x1440p,Fail
+kms_bw at linear-tiling-3-displays-3840x2160p,Fail
+kms_color at pipe-A-invalid-gamma-lut-sizes,Fail
+kms_plane_cursor at overlay,Fail
+kms_plane_cursor at primary,Fail
+kms_plane_cursor at viewport,Fail
+kms_plane_scaling at upscale-with-rotation-20x20,Fail
+kms_rmfb at close-fd,Fail
-- 
2.40.1




More information about the linux-amlogic mailing list