Mesa (master): ci/bare-metal: Pass through FDO_CI_CONCURRENT on bare-metal runners.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jan 2 03:29:52 UTC 2021
Module: Mesa
Branch: master
Commit: cab48ba9f5d26df9b18ee549c0733401f2e67454
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cab48ba9f5d26df9b18ee549c0733401f2e67454
Author: Eric Anholt <eric at anholt.net>
Date: Tue Dec 29 10:59:07 2020 -0800
ci/bare-metal: Pass through FDO_CI_CONCURRENT on bare-metal runners.
I've set it up in the gitlab-runer config on all the freedreno boards.
This means that for piglit, where the run.sh always choose either this
variable or 4 threads otherwise, we'll have the right number of parallel
tasks.
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7370>
---
.gitlab-ci.yml | 1 +
.gitlab-ci/bare-metal/rootfs-setup.sh | 1 +
docs/ci/bare-metal.rst | 5 ++++-
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1aa779c8d8c..4319a25b67b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1538,6 +1538,7 @@ arm64_a306_gles3_options:
# Disable SMP because only CPU 0 is at a freq higher than 19mhz on
# current upstream kernel.
BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
+ FDO_CI_CONCURRENT: 1
GPU_VERSION: freedreno-a530
DEQP_EXPECTED_RENDERER: FD530
tags:
diff --git a/.gitlab-ci/bare-metal/rootfs-setup.sh b/.gitlab-ci/bare-metal/rootfs-setup.sh
index 3b629aa72ea..99e0c25c885 100644
--- a/.gitlab-ci/bare-metal/rootfs-setup.sh
+++ b/.gitlab-ci/bare-metal/rootfs-setup.sh
@@ -43,6 +43,7 @@ for var in \
DEVICE_NAME \
DRIVER_NAME \
EGL_PLATFORM \
+ FDO_CI_CONCURRENT \
FDO_UPSTREAM_REPO \
FD_MESA_DEBUG \
FLAKES_CHANNEL \
diff --git a/docs/ci/bare-metal.rst b/docs/ci/bare-metal.rst
index 0c165f90a57..be5952da21c 100644
--- a/docs/ci/bare-metal.rst
+++ b/docs/ci/bare-metal.rst
@@ -116,7 +116,10 @@ required by your bare-metal script, something like::
[[runners]]
name = "google-freedreno-db410c-1"
- environment = ["BM_SERIAL=/dev/ttyDB410c8", "BM_POWERUP=google-power-up.sh 8", "BM_FASTBOOT_SERIAL=15e9e390"]
+ environment = ["BM_SERIAL=/dev/ttyDB410c8", "BM_POWERUP=google-power-up.sh 8", "BM_FASTBOOT_SERIAL=15e9e390", "FDO_CI_CONCURRENT=4"]
+
+The ``FDO_CI_CONCURRENT`` variable should be set to the number of CPU threads on
+the board, which is used for auto-tuning of job parallelism.
If you want to collect the results for fastboot you need to add the following
two board-specific environment variables ``BM_WEBDAV_IP`` and ``BM_WEBDAV_PORT``.
More information about the mesa-commit
mailing list