Mesa (main): ci/freedreno: Add maxcpus=2 to the kernel cmdline on a530

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 2 07:10:16 UTC 2021


Module: Mesa
Branch: main
Commit: 8d96cf4eaa98b3e0b1f6e7e693e3475969c4ce5f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d96cf4eaa98b3e0b1f6e7e693e3475969c4ce5f

Author: Guilherme Gallo <guilherme.gallo at collabora.com>
Date:   Mon Nov  1 19:26:02 2021 -0300

ci/freedreno: Add maxcpus=2 to the kernel cmdline on a530

It seems that the cpufreq support in a530 is not rock solid yet, as the
device intermittently reboots during the boot process.

Passing `maxcpus=2` to the kernel avoids this issue.

Signed-off-by: Guilherme Gallo <guilherme.gallo at collabora.com>
Acked-by: Emma Anholt <emma at anholt.net>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13089>

---

 src/freedreno/ci/gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/freedreno/ci/gitlab-ci.yml b/src/freedreno/ci/gitlab-ci.yml
index 25f52b58183..72a8d446f7d 100644
--- a/src/freedreno/ci/gitlab-ci.yml
+++ b/src/freedreno/ci/gitlab-ci.yml
@@ -8,7 +8,7 @@
     BM_ROOTFS: /rootfs-arm64
     FLAKES_CHANNEL: "#freedreno-ci"
     PIGLIT_PLATFORM: mixed_glx_egl
-    BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS"
+    BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 $BM_KERNEL_EXTRA_ARGS root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS"
   script:
     - ./install/bare-metal/fastboot.sh
   needs:
@@ -67,6 +67,7 @@ a306-traces:
     - .test-manual-mr
   variables:
     BM_KERNEL: /baremetal-files/Image.gz
+    BM_KERNEL_EXTRA_ARGS: maxcpus=2
     BM_DTB: /baremetal-files/apq8096-db820c.dtb
     GPU_VERSION: freedreno-a530
   tags:



More information about the mesa-commit mailing list