From 3542afbdd038bb3d6a7ade9a455a3034105db4ff Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Wed, 26 May 2021 20:40:59 -0700 Subject: [PATCH] Revert "ci: Configure DUTs for max performance" This reverts commit eef5409df4c3f1192687eaa6157875e4650c1206. I suspect this has caused a lot of the CI instability today -- some flakes were already added, but the a630-traces job is still flaking. Revert until a fix makes it stable. Reviewed-by: Tomeu Vizoso Part-of: --- .gitlab-ci/bare-metal/init.sh | 17 ----------------- .gitlab-ci/lava.yml.jinja2 | 5 ----- 2 files changed, 22 deletions(-) diff --git a/.gitlab-ci/bare-metal/init.sh b/.gitlab-ci/bare-metal/init.sh index f04dde94db3..044c0423304 100755 --- a/.gitlab-ci/bare-metal/init.sh +++ b/.gitlab-ci/bare-metal/init.sh @@ -46,23 +46,6 @@ if [ -n "$BM_START_XORG" ]; then export DISPLAY=:0 fi -# Disable GPU frequency scaling -DEVFREQ_GOVERNOR=`find /sys/devices -name governor | grep gpu || true` -echo performance > $DEVFREQ_GOVERNOR || true - -# Disable CPU frequency scaling -echo performance | tee -a /sys/devices/system/cpu/cpufreq/policy*/scaling_governor || true - -# The below would be generally useful, but a bug in drm/msm leaves the GPU -# device in a broken state if we try to do it before the first client (Xorg -# in this case) connects. -# TODO: Make it inconditional once https://gitlab.freedesktop.org/drm/msm/-/issues/5 is solved in Mesa CI's kernel -if [ -n "$BM_START_XORG" ]; then - # Disable GPU runtime PM - GPU_AUTOSUSPEND=`find /sys/devices -name autosuspend_delay_ms | grep gpu | head -1` - echo -1 > $GPU_AUTOSUSPEND || true -fi - if sh $BARE_METAL_TEST_SCRIPT; then OK=1 else diff --git a/.gitlab-ci/lava.yml.jinja2 b/.gitlab-ci/lava.yml.jinja2 index e9735d6b3af..e8c74aac721 100644 --- a/.gitlab-ci/lava.yml.jinja2 +++ b/.gitlab-ci/lava.yml.jinja2 @@ -82,14 +82,9 @@ actions: - modprobe amdgpu || true - # Disable GPU frequency scaling - DEVFREQ_GOVERNOR=`find /sys/devices -name governor | grep gpu || true` - echo performance > $DEVFREQ_GOVERNOR || true - # Disable CPU frequency scaling - - echo performance | tee -a /sys/devices/system/cpu/cpufreq/policy*/scaling_governor || true - - # Disable GPU runtime PM - GPU_AUTOSUSPEND=`find /sys/devices -name autosuspend_delay_ms | grep gpu | head -1` - echo -1 > $GPU_AUTOSUSPEND || true