mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-14 23:17:44 +00:00
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>
This commit is contained in:
parent
7cae9f0ef1
commit
0747f21bb6
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user