From c707b4d0f97925316d8423ec106ffd54119e6552 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 25 Oct 2019 13:04:34 +0200 Subject: [PATCH] gitlab-ci: Test Panfrost on T720 GPUs Now that the Mali T720 GPU is supoprted at the same level as the T760, test it on PINE64 H64 boards. Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig --- .gitlab-ci/arm64.config | 1 - .gitlab-ci/deqp-panfrost-t720-fails.txt | 33 +++++++++++++++++++++++++ .gitlab-ci/deqp-panfrost-t720-skips.txt | 14 +++++++++++ .gitlab-ci/generate_lava.py | 6 +++++ .gitlab-ci/lava-gitlab-ci.yml | 13 +++++++--- 5 files changed, 63 insertions(+), 4 deletions(-) create mode 100644 .gitlab-ci/deqp-panfrost-t720-fails.txt create mode 100644 .gitlab-ci/deqp-panfrost-t720-skips.txt diff --git a/.gitlab-ci/arm64.config b/.gitlab-ci/arm64.config index 69873ad6775..09909a9839d 100644 --- a/.gitlab-ci/arm64.config +++ b/.gitlab-ci/arm64.config @@ -26,7 +26,6 @@ CONFIG_TYPEC_FUSB302=y CONFIG_TYPEC=y CONFIG_TYPEC_TCPM=y -CONFIG_ARCH_SUNXI=n CONFIG_ARCH_ALPINE=n CONFIG_ARCH_BCM2835=n CONFIG_ARCH_BCM_IPROC=n diff --git a/.gitlab-ci/deqp-panfrost-t720-fails.txt b/.gitlab-ci/deqp-panfrost-t720-fails.txt new file mode 100644 index 00000000000..bd7f94e4373 --- /dev/null +++ b/.gitlab-ci/deqp-panfrost-t720-fails.txt @@ -0,0 +1,33 @@ +dEQP-GLES2.functional.depth_stencil_clear.depth_stencil_masked Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_rbo_rgb565_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_rbo_rgb565_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_rbo_rgb5_a1_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_rbo_rgb5_a1_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_rbo_rgba4_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_rbo_rgba4_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_tex2d_rgba_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_tex2d_rgba_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_tex2d_rgb_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.no_rebind_tex2d_rgb_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_rbo_rgb565_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_rbo_rgb565_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_rbo_rgb5_a1_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_rbo_rgb5_a1_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_rbo_rgba4_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_rbo_rgba4_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_tex2d_rgba_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_tex2d_rgba_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_tex2d_rgb_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_tex2d_rgb_stencil_index8 Fail +dEQP-GLES2.functional.fbo.render.shared_colorbuffer.rbo_rgb565_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.shared_colorbuffer.tex2d_rgba_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.shared_colorbuffer.tex2d_rgb_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.shared_colorbuffer.rbo_rgb5_a1_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.shared_colorbuffer.rbo_rgba4_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.shared_depthbuffer.rbo_rgb565_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.shared_depthbuffer.tex2d_rgba_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.shared_depthbuffer.tex2d_rgb_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.shared_depthbuffer.rbo_rgb5_a1_depth_component16 Fail +dEQP-GLES2.functional.fbo.render.shared_depthbuffer.rbo_rgba4_depth_component16 Fail +dEQP-GLES2.functional.shaders.scoping.valid.local_variable_hides_function_parameter_fragment Fail +dEQP-GLES2.functional.shaders.scoping.valid.local_variable_hides_function_parameter_vertex Fail diff --git a/.gitlab-ci/deqp-panfrost-t720-skips.txt b/.gitlab-ci/deqp-panfrost-t720-skips.txt new file mode 100644 index 00000000000..05c5acab717 --- /dev/null +++ b/.gitlab-ci/deqp-panfrost-t720-skips.txt @@ -0,0 +1,14 @@ +# Note: skips lists for CI are just a list of lines that, when +# non-zero-length and not starting with '#', will regex match to +# delete lines from the test list. Be careful. + +# Skip the perf/stress tests to keep runtime manageable +dEQP-GLES[0-9]*.performance +dEQP-GLES[0-9]*.stress + +# These are really slow on tiling architectures (including llvmpipe). +dEQP-GLES[0-9]*.functional.flush_finish + +# XXX: Why does this flake? +dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip_neg_x_neg_z_and_pos_x_pos_z_and_neg_x_neg_y_pos_z + diff --git a/.gitlab-ci/generate_lava.py b/.gitlab-ci/generate_lava.py index a556294fbf1..e7abd8407ad 100755 --- a/.gitlab-ci/generate_lava.py +++ b/.gitlab-ci/generate_lava.py @@ -4,6 +4,12 @@ from jinja2 import Environment, FileSystemLoader import argparse device_types = { + "sun50i-h6-pine-h64": { + "gpu_version": "panfrost-t720", + "boot_method": "u-boot", + "lava_device_type": "sun50i-h6-pine-h64", + "kernel_image_type": "type: image", + }, "rk3288-veyron-jaq": { "gpu_version": "panfrost-t760", "boot_method": "depthcharge", diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml index c6e0a96328f..cad0eb9491c 100644 --- a/.gitlab-ci/lava-gitlab-ci.yml +++ b/.gitlab-ci/lava-gitlab-ci.yml @@ -25,7 +25,7 @@ include: - .lava-ci-run-policy variables: REPO_SUFFIX: ${CI_JOB_NAME} - DEBIAN_TAG: &debian_tag '2019-10-23' + DEBIAN_TAG: &debian_tag '2019-10-28-2-tomeu' DEBIAN_EXEC: 'DEBIAN_ARCH=${DEBIAN_ARCH} GCC_ARCH=${GCC_ARCH} KERNEL_ARCH=${KERNEL_ARCH} @@ -55,7 +55,7 @@ lava_arm64: KERNEL_ARCH: "arm64" VOLT_ARCH: "aarch64" DEFCONFIG: "arch/arm64/configs/defconfig" - DEVICE_TREES: "arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dtb arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dtb" + DEVICE_TREES: "arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dtb arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dtb arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dtb" KERNEL_IMAGE_NAME: "Image" .lava-build: @@ -136,7 +136,7 @@ lava-build:arm64: variables: DEBIAN_ARCH: "arm64" GCC_ARCH: "aarch64-linux-gnu" - DEVICE_TYPES: "rk3399-gru-kevin meson-gxl-s905x-libretech-cc" + DEVICE_TYPES: "rk3399-gru-kevin meson-gxl-s905x-libretech-cc sun50i-h6-pine-h64" KERNEL_IMAGE_NAME: "Image" .lava-test: @@ -180,6 +180,13 @@ lava-build:arm64: dependencies: - lava-build:arm64 +panfrost-t720-test:arm64: + extends: .lava-test:arm64 + variables: + DEVICE_TYPE: sun50i-h6-pine-h64 + tags: + - lava-sun50i-h6-pine-h64 + panfrost-t760-test:armhf: extends: .lava-test:armhf variables: -- 2.30.2