[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240130150340.687871-4-vignesh.raman@collabora.com>
Date: Tue, 30 Jan 2024 20:33:34 +0530
From: Vignesh Raman <vignesh.raman@...labora.com>
To: dri-devel@...ts.freedesktop.org
Cc: daniel@...ishbar.org,
helen.koike@...labora.com,
airlied@...il.com,
daniel@...ll.ch,
david.heidelberg@...labora.com,
guilherme.gallo@...labora.com,
sergi.blanch.torne@...labora.com,
robdclark@...il.com,
linux-mediatek@...ts.infradead.org,
linux-rockchip@...ts.infradead.org,
linux-amlogic@...ts.infradead.org,
amd-gfx@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 3/9] drm/ci: mediatek: Add job to test panfrost and powervr GPU driver
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.
Add panfrost specific tests to testlist and skip KMS tests for
panfrost driver since it is not a not a KMS driver. Also update
the MAINTAINERS file to include xfails for panfrost driver.
Signed-off-by: Vignesh Raman <vignesh.raman@...labora.com>
---
v2:
- Add panfrost and PVR GPU jobs for mediatek SOC with new xfails, add xfail
entry to MAINTAINERS.
v3:
- Add panfrost specific tests to testlist and skip KMS tests for
panfrost driver since it is not a not a KMS driver and update xfails.
Update the MAINTAINERS file to include xfails for panfrost driver.
Add the job name in GPU_VERSION and use it for xfail file names instead
of using DRIVER_NAME.
---
MAINTAINERS | 1 +
drivers/gpu/drm/ci/test.yml | 18 ++++++++++++++++++
drivers/gpu/drm/ci/testlist.txt | 16 ++++++++++++++++
.../ci/xfails/mediatek-mt8183-gpu-skips.txt | 2 ++
4 files changed, 37 insertions(+)
create mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8183-gpu-skips.txt
diff --git a/MAINTAINERS b/MAINTAINERS
index 9d959a6881f7..bcdc17d1aa26 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1645,6 +1645,7 @@ L: dri-devel@...ts.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 0cd44e6ea18b..e153c5a7ad80 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: mediatek-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: mediatek-mt8173-display
DRIVER_NAME: mediatek
+mediatek:mt8183-gpu:
+ extends:
+ - .mt8183
+ variables:
+ GPU_VERSION: mediatek-mt8183-gpu
+ DRIVER_NAME: panfrost
+
mediatek:mt8183-display:
extends:
- .mt8183
diff --git a/drivers/gpu/drm/ci/testlist.txt b/drivers/gpu/drm/ci/testlist.txt
index eaeb751bb0ad..772fc025b1f8 100644
--- a/drivers/gpu/drm/ci/testlist.txt
+++ b/drivers/gpu/drm/ci/testlist.txt
@@ -2959,3 +2959,19 @@ msm_submit@...alid-duplicate-bo-submit
msm_submit@...alid-cmd-idx-submit
msm_submit@...alid-cmd-type-submit
msm_submit@...id-submit
+panfrost_get_param@...e-params
+panfrost_get_param@...-bad-param
+panfrost_get_param@...-bad-padding
+panfrost_gem_new@...-new-4096
+panfrost_gem_new@...-new-0
+panfrost_gem_new@...-new-zeroed
+panfrost_prime@...-prime-import
+panfrost_submit@...-submit
+panfrost_submit@...-submit-error-no-jc
+panfrost_submit@...-submit-error-bad-in-syncs
+panfrost_submit@...-submit-error-bad-bo-handles
+panfrost_submit@...-submit-error-bad-requirements
+panfrost_submit@...-submit-error-bad-out-sync
+panfrost_submit@...-reset
+panfrost_submit@...-submit-and-close
+panfrost_submit@...-unhandled-pagefault
diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8183-gpu-skips.txt b/drivers/gpu/drm/ci/xfails/mediatek-mt8183-gpu-skips.txt
new file mode 100644
index 000000000000..2ea09d1648bc
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/mediatek-mt8183-gpu-skips.txt
@@ -0,0 +1,2 @@
+# Panfrost is not a KMS driver, so skip the KMS tests
+kms_.*
--
2.40.1
Powered by blists - more mailing lists