diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2020-10-05 15:57:58 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2020-10-08 12:14:59 +0200 |
commit | 0747f21bb67a992a6b94b0fc604d4390ac8b3523 (patch) | |
tree | ff906c9d10568f4c098c83f4119f74082d008b61 /.gitlab-ci | |
parent | 7cae9f0ef1324f723c6325fb985590f5624daa80 (diff) |
ci: Disable pm_runtime and max clocks in LAVA jobs
To get more consistent performance and results, use the performance
devfreq governor and disable PM runtime.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7011>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/lava-deqp.yml.jinja2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci/lava-deqp.yml.jinja2 b/.gitlab-ci/lava-deqp.yml.jinja2 index 93cc6c20d1a..e29d310c20d 100644 --- a/.gitlab-ci/lava-deqp.yml.jinja2 +++ b/.gitlab-ci/lava-deqp.yml.jinja2 @@ -80,6 +80,12 @@ actions: # amdgpu failed to find its firmware during boot, rebind - echo 0000:00:01.0 > /sys/bus/pci/drivers/amdgpu/bind || true + - DEVFREQ_GOVERNOR=`find /sys/devices -name governor | grep gpu || true` + - echo performance > $DEVFREQ_GOVERNOR || true + + - GPU_AUTOSUSPEND=`find /sys/devices -name autosuspend_delay_ms | grep gpu | head -1` + - echo -1 > $GPU_AUTOSUSPEND || true + {% if env_vars %} - export {{ env_vars }} {% endif %} |