From 0d90f48b4f13ed7e96055f72541fa9b4388b091e Mon Sep 17 00:00:00 2001 From: Vignesh Raman Date: Tue, 20 Aug 2024 13:05:58 +0530 Subject: [PATCH] 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 Part-of: --- src/panfrost/ci/deqp-panfrost-g610.toml | 57 ++++++++++++++++++++++ src/panfrost/ci/gitlab-ci.yml | 65 +++++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 src/panfrost/ci/deqp-panfrost-g610.toml diff --git a/src/panfrost/ci/deqp-panfrost-g610.toml b/src/panfrost/ci/deqp-panfrost-g610.toml new file mode 100644 index 00000000000..829e1eec4cb --- /dev/null +++ b/src/panfrost/ci/deqp-panfrost-g610.toml @@ -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" diff --git a/src/panfrost/ci/gitlab-ci.yml b/src/panfrost/ci/gitlab-ci.yml index 54c5b0941d8..66e7647e86e 100644 --- a/src/panfrost/ci/gitlab-ci.yml +++ b/src/panfrost/ci/gitlab-ci.yml @@ -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