Revert "ci: Configure DUTs for max performance"

This reverts commit eef5409df4.

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 <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11024>
This commit is contained in:
Emma Anholt 2021-05-26 20:40:59 -07:00 committed by Marge Bot
parent ea5f1fa279
commit 3542afbdd0
2 changed files with 0 additions and 22 deletions

View File

@ -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

View File

@ -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