For rockchip rk3288 and rk3399, the GPU driver is panfrost.
So add support in drm-ci to test panfrost driver for rockchip
SOC and update xfails. Skip KMS tests for panfrost driver
since it is not a not a KMS driver.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---
v2:
- Add panfrost GPU jobs for rockchip SOC with new xfails.
v3:
- Skip KMS tests for panfrost driver since it is not a not
a KMS driver and update xfails. Add the job name in GPU_VERSION
and use it for xfail file names instead of using DRIVER_NAME.
---
drivers/gpu/drm/ci/test.yml | 14 ++++++++++++++
.../drm/ci/xfails/rockchip-rk3288-gpu-fails.txt | 1 +
.../drm/ci/xfails/rockchip-rk3288-gpu-skips.txt | 2 ++
.../drm/ci/xfails/rockchip-rk3399-gpu-fails.txt | 1 +
.../drm/ci/xfails/rockchip-rk3399-gpu-skips.txt | 2 ++
5 files changed, 20 insertions(+)
create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3288-gpu-fails.txt
create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3288-gpu-skips.txt
create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3399-gpu-fails.txt
create mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3399-gpu-skips.txt
diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
index 1b8846c6bdbf..8ab8a8f56d6a 100644
--- a/drivers/gpu/drm/ci/test.yml
+++ b/drivers/gpu/drm/ci/test.yml
@@ -175,6 +175,13 @@ msm:sdm845:
KERNEL_IMAGE_TYPE: ""
RUNNER_TAG: mesa-ci-x86-64-lava-rk3399-gru-kevin
+rockchip:rk3288-gpu:
+ extends:
+ - .rk3288
+ variables:
+ GPU_VERSION: rockchip-rk3288-gpu
+ DRIVER_NAME: panfrost
+
rockchip:rk3288-display:
extends:
- .rk3288
@@ -182,6 +189,13 @@ rockchip:rk3288-display:
GPU_VERSION: rockchip-rk3288-display
DRIVER_NAME: rockchip
+rockchip:rk3399-gpu:
+ extends:
+ - .rk3399
+ variables:
+ GPU_VERSION: rockchip-rk3399-gpu
+ DRIVER_NAME: panfrost
+
rockchip:rk3399-display:
extends:
- .rk3399
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3288-gpu-fails.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3288-gpu-fails.txt
new file mode 100644
index 000000000000..abd35a8ef6f4
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3288-gpu-fails.txt
@@ -0,0 +1 @@
+panfrost_prime@gem-prime-import,Crash
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3288-gpu-skips.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3288-gpu-skips.txt
new file mode 100644
index 000000000000..2ea09d1648bc
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3288-gpu-skips.txt
@@ -0,0 +1,2 @@
+# Panfrost is not a KMS driver, so skip the KMS tests
+kms_.*
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-gpu-fails.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-gpu-fails.txt
new file mode 100644
index 000000000000..6f5e760d5ec0
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-gpu-fails.txt
@@ -0,0 +1 @@
+panfrost_prime@gem-prime-import,Fail
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-gpu-skips.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-gpu-skips.txt
new file mode 100644
index 000000000000..2ea09d1648bc
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-gpu-skips.txt
@@ -0,0 +1,2 @@
+# Panfrost is not a KMS driver, so skip the KMS tests
+kms_.*
--
2.40.1