ci: enable Mali V10 testing

Panthor support was added in Linux 6.10 and Panfrost V10
in Mesa, enabling new GPUs on Rockchip's RK3588. Add CI
jobs to test Mali V10.

Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30883>
This commit is contained in:
Vignesh Raman
2024-08-20 13:05:58 +05:30
committed by Marge Bot
parent 91b3ae71d7
commit 0d90f48b4f
2 changed files with 122 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
# Basic test set
[[deqp]]
deqp = "/deqp/modules/gles2/deqp-gles2"
caselists = ["/deqp/mustpass/gles2-main.txt"]
deqp_args = [
"--deqp-surface-width=256", "--deqp-surface-height=256",
"--deqp-surface-type=pbuffer", "--deqp-visibility=hidden",
"--deqp-gl-config-name=rgba8888d24s8ms0",
]
version_check = "GL ES 3.1.*git"
renderer_check = "Mali-G610"
[[deqp]]
deqp = "/deqp/modules/gles3/deqp-gles3"
caselists = ["/deqp/mustpass/gles3-main.txt"]
deqp_args = [
"--deqp-surface-width=256", "--deqp-surface-height=256",
"--deqp-surface-type=pbuffer", "--deqp-visibility=hidden",
"--deqp-gl-config-name=rgba8888d24s8ms0",
]
[[deqp]]
deqp = "/deqp/modules/gles31/deqp-gles31"
caselists = ["/deqp/mustpass/gles31-main.txt"]
deqp_args = [
"--deqp-surface-width=256", "--deqp-surface-height=256",
"--deqp-surface-type=pbuffer", "--deqp-visibility=hidden",
"--deqp-gl-config-name=rgba8888d24s8ms0",
]
[[deqp]]
deqp = "/deqp/external/openglcts/modules/glcts"
caselists = [
"/deqp/mustpass/gles2-khr-main.txt",
"/deqp/mustpass/gles3-khr-main.txt",
"/deqp/mustpass/gles31-khr-main.txt",
]
deqp_args = [
"--deqp-surface-width=256", "--deqp-surface-height=256",
"--deqp-surface-type=pbuffer", "--deqp-visibility=hidden",
"--deqp-gl-config-name=rgba8888d24s8ms0",
]
# Smoke test spilling
[[deqp]]
deqp = "/deqp/modules/gles2/deqp-gles2"
caselists = ["/deqp/mustpass/gles2-main.txt"]
include = ["functional.shaders"]
deqp_args = [
"--deqp-surface-width=256", "--deqp-surface-height=256",
"--deqp-surface-type=pbuffer", "--deqp-visibility=hidden",
"--deqp-gl-config-name=rgba8888d24s8ms0",
]
prefix = "spill-"
fraction = 2
[deqp.env]
BIFROST_MESA_DEBUG = "spill"

View File

@@ -107,6 +107,39 @@
*panfrost_bifrost_file_list
when: manual
.panfrost-valhall-gl-rules:
stage: arm
rules:
- !reference [.test, rules]
- !reference [.collabora-farm-rules, rules]
- !reference [.gl-rules, rules]
- changes:
*panfrost_common_file_list
when: on_success
- changes:
*panfrost_gallium_file_list
when: on_success
- changes: &panfrost_valhall_file_list
- src/panfrost/compiler/**/*
when: on_success
.panfrost-valhall-gl-manual-rules:
stage: arm-postmerge
extends: .no-auto-retry
rules:
- !reference [.test, rules]
- !reference [.collabora-farm-manual-rules, rules]
- !reference [.gl-manual-rules, rules]
- changes:
*panfrost_common_file_list
when: manual
- changes:
*panfrost_gallium_file_list
when: manual
- changes:
*panfrost_valhall_file_list
when: manual
.panfrost-test:
variables:
FLAKES_CHANNEL: "#panfrost-ci"
@@ -183,6 +216,20 @@
KERNEL_IMAGE_TYPE: ""
RUNNER_TAG: mesa-ci-x86-64-lava-rk3399-gru-kevin
# Status: https://lava.collabora.dev/scheduler/device_type/rk3588-rock-5b
.lava-rk3588-rock-5b:arm64:
variables:
DEVICE_TYPE: rk3588-rock-5b
DTB: $DEVICE_TYPE
FARM: collabora
GPU_VERSION: panfrost-g610
DRIVER_NAME: panfrost
FDO_CI_CONCURRENT: 6
BOOT_METHOD: u-boot
KERNEL_IMAGE_NAME: Image
KERNEL_IMAGE_TYPE: "image"
RUNNER_TAG: mesa-ci-x86-64-lava-rk3588-rock-5b
# Status: https://lava.collabora.dev/scheduler/device_type/sun50i-h6-pine-h64
.lava-sun50i-h6-pine-h64:arm64:
variables:
@@ -307,3 +354,21 @@ panfrost-g57-gl:arm64:
parallel: 6
variables:
DEQP_SUITE: panfrost-g57
panfrost-g610-gl:arm64:
parallel: 2
extends:
- .lava-test-deqp:arm64
- .panfrost-valhall-gl-rules
- .panfrost-test
- .lava-rk3588-rock-5b:arm64
variables:
DEQP_SUITE: panfrost-g610
PAN_MESA_DEBUG: "deqp,sync,indirect"
panfrost-g610-gl-full:arm64:
extends:
- panfrost-g610-gl:arm64
- .panfrost-valhall-gl-manual-rules
variables:
DEQP_FRACTION: 1