panfrost/ci: Re-add support for armhf
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 2 Sep 2019 06:33:11 +0000 (08:33 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 6 Sep 2019 14:35:16 +0000 (16:35 +0200)
Now that Volt supports armhf, build again images and submit to LAVA for
RK3288.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/gallium/drivers/panfrost/ci/debian-install.sh
src/gallium/drivers/panfrost/ci/deqp-runner.sh
src/gallium/drivers/panfrost/ci/gitlab-ci.yml
src/gallium/drivers/panfrost/ci/lava-deqp.yml.jinja2

index fbb95887d345ec0af95a42550aa919bf255ede70..ec2aa6723a883aa576b1ac9510ffd9ebd4796a12 100644 (file)
@@ -111,20 +111,20 @@ rm -rf /VK-GL-CTS-opengl-es-cts-3.2.5.0
 ############### Cross-build Volt dEQP runner
 mkdir -p /battery
 cd /battery
-wget https://github.com/VoltLang/Battery/releases/download/v0.1.22/battery-0.1.22-x86_64-linux.tar.gz
-tar xzvf battery-0.1.22-x86_64-linux.tar.gz
-rm battery-0.1.22-x86_64-linux.tar.gz
+wget https://github.com/VoltLang/Battery/releases/download/v0.1.23/battery-0.1.23-x86_64-linux.tar.gz
+tar xzvf battery-0.1.23-x86_64-linux.tar.gz
+rm battery-0.1.23-x86_64-linux.tar.gz
 mv battery /usr/local/bin
 rm -rf /battery
 
 mkdir -p /volt
 cd /volt
 git clone --depth=1 https://github.com/VoltLang/Watt.git
-git clone --depth=1 https://github.com/VoltLang/Volta.git
+git clone --depth=1 https://github.com/VoltLang/Volta.git --branch go-go-gadget-armhf
 git clone --depth=1 https://github.com/Wallbraker/dEQP.git
 battery config --release --lto Volta Watt
 battery build
-battery config --arch aarch64 --cmd-volta Volta/volta Volta/rt Watt dEQP
+battery config --arch ${VOLT_ARCH} --cmd-volta Volta/volta Volta/rt Watt dEQP
 battery build
 cp dEQP/deqp /artifacts/rootfs/deqp/deqp-volt
 rm -rf /volt
index b226c3d3e6f60ce14d7d2b1e8f6c192ae4934365..bf37d75aeabb2fd61066979a0c2e07ec2b716c14 100644 (file)
@@ -12,6 +12,9 @@ export LD_LIBRARY_PATH=/mesa/lib/
 export XDG_CONFIG_HOME=$(pwd)
 export MESA_GLES_VERSION_OVERRIDE=3.0
 
+DEVFREQ_GOVERNOR=`echo /sys/devices/platform/*.gpu/devfreq/devfreq0/governor`
+echo performance > $DEVFREQ_GOVERNOR
+
 echo "[core]\nidle-time=0\nrequire-input=false\n[shell]\nlocking=false" > weston.ini
 
 cd /deqp/modules/gles2
index ed0123b00a9173577e2cd52737d3ebc10931110a..6cbdd134b1c358771414addf228fdc5a2677ce57 100644 (file)
@@ -16,7 +16,7 @@
 variables:
   UPSTREAM_REPO: mesa/mesa
   DEBIAN_VERSION: testing-slim
-  IMAGE_TAG: "2019-08-29-1"
+  IMAGE_TAG: "2019-09-02-2"
 
 include:
   - project: 'wayland/ci-templates'
@@ -46,20 +46,22 @@ stages:
     DEBIAN_EXEC: 'DEBIAN_ARCH=${DEBIAN_ARCH}
                   GCC_ARCH=${GCC_ARCH}
                   KERNEL_ARCH=${KERNEL_ARCH}
+                  VOLT_ARCH=${VOLT_ARCH}
                   DEFCONFIG=${DEFCONFIG}
                   DEVICE_TREES=${DEVICE_TREES}
                   KERNEL_IMAGE_NAME=${KERNEL_IMAGE_NAME}
                   bash src/gallium/drivers/panfrost/ci/debian-install.sh'
 
-#container:armhf:
-#  extends: .container
-#  variables:
-#    DEBIAN_ARCH: "armhf"
-#    GCC_ARCH: "arm-linux-gnueabihf"
-#    KERNEL_ARCH: "arm"
-#    DEFCONFIG: "arch/arm/configs/multi_v7_defconfig"
-#    DEVICE_TREES: "arch/arm/boot/dts/rk3288-veyron-jaq.dtb"
-#    KERNEL_IMAGE_NAME: "zImage"
+container:armhf:
+  extends: .container
+  variables:
+    DEBIAN_ARCH: "armhf"
+    GCC_ARCH: "arm-linux-gnueabihf"
+    KERNEL_ARCH: "arm"
+    VOLT_ARCH: "armhf"
+    DEFCONFIG: "arch/arm/configs/multi_v7_defconfig"
+    DEVICE_TREES: "arch/arm/boot/dts/rk3288-veyron-jaq.dtb"
+    KERNEL_IMAGE_NAME: "zImage"
 
 container:arm64:
   extends: .container
@@ -67,6 +69,7 @@ container:arm64:
     DEBIAN_ARCH: "arm64"
     GCC_ARCH: "aarch64-linux-gnu"
     KERNEL_ARCH: "arm64"
+    VOLT_ARCH: "aarch64"
     DEFCONFIG: "arch/arm64/configs/defconfig"
     DEVICE_TREES: "arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dtb"
     KERNEL_IMAGE_NAME: "Image"
@@ -124,16 +127,18 @@ container:arm64:
     paths:
       - results/
 
-#build:armhf:
-#  extends: .build
-#  variables:
-#    DEBIAN_ARCH: "armhf"
-#    GCC_ARCH: "arm-linux-gnueabihf"
-#    DEVICE_TYPE: "rk3288-veyron-jaq"
-#    KERNEL_IMAGE_NAME: "zImage"
+build:armhf:
+  extends: .build
+  needs: ["container:armhf"]
+  variables:
+    DEBIAN_ARCH: "armhf"
+    GCC_ARCH: "arm-linux-gnueabihf"
+    DEVICE_TYPE: "rk3288-veyron-jaq"
+    KERNEL_IMAGE_NAME: "zImage"
 
 build:arm64:
   extends: .build
+  needs: ["container:arm64"]
   variables:
     DEBIAN_ARCH: "arm64"
     GCC_ARCH: "aarch64-linux-gnu"
@@ -162,19 +167,23 @@ build:arm64:
     - lavacli jobs show $lava_job_id
     - result=`lavacli results $lava_job_id 0_deqp deqp | head -1`
     - echo $result
-    - '[[ "$result" == "pass" ]]'
+
+    # Don't error out on RK3288
+    - '[[ "$result" == "pass" || -f results/rk3288-veyron-jaq.dtb ]]'
   artifacts:
     when: always
     paths:
       - results/
 
-#test:armhf:
-#  extends: .test
-#  dependencies:
-#    - build:armhf
+test:armhf:
+  extends: .test
+  needs: ["build:armhf"]
+  dependencies:
+    - build:armhf
 
 test:arm64:
   extends: .test
+  needs: ["build:arm64"]
   dependencies:
     - build:arm64
 
index a04da3e182ecc93b91caa5b34cded03503b20812..a6edb4e7a52475981dd434ae59cb916fefacccde 100644 (file)
@@ -51,7 +51,6 @@ actions:
           - mkdir -p /dev/pts
           - mount -t devpts devpts /dev/pts
           - echo 3 > /proc/sys/kernel/printk
-          - echo performance > /sys/devices/platform/ff9a0000.gpu/devfreq/devfreq0/governor
           - sh /deqp/deqp-runner.sh
           - cat /proc/loadavg
         parse: