diff options
author | Tomeu Vizoso <[email protected]> | 2019-05-07 10:00:23 +0200 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2019-05-10 07:37:18 +0200 |
commit | 8a328c725af07d17c97aafbff024f1a63aa72fd5 (patch) | |
tree | 7f641cf21a4445585786ce6437e9e1c355a7a3bf /src | |
parent | bbed39bbf2b96b60dca4a75b3432bd4d95ff2741 (diff) |
panfrost: ci: Tweak dEQP to improve throughput
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/panfrost/ci/deqp-runner.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/ci/deqp-runner.sh b/src/gallium/drivers/panfrost/ci/deqp-runner.sh index a2133b489d6..992560f8cd4 100644 --- a/src/gallium/drivers/panfrost/ci/deqp-runner.sh +++ b/src/gallium/drivers/panfrost/ci/deqp-runner.sh @@ -5,6 +5,12 @@ set -x # To prevent memory leaks from slowing throughput, restart everything between batches BATCH_SIZE=5000 +DEQP_OPTIONS="--deqp-surface-width=256 --deqp-surface-height=256" +DEQP_OPTIONS="$DEQP_OPTIONS --deqp-visibility=hidden" +DEQP_OPTIONS="$DEQP_OPTIONS --deqp-log-images=disable" +DEQP_OPTIONS="$DEQP_OPTIONS --deqp-watchdog=enable" +DEQP_OPTIONS="$DEQP_OPTIONS --deqp-crashhandler=enable" + export XDG_RUNTIME_DIR=/tmp export LIBGL_DRIVERS_PATH=/mesa/lib/dri/ export LD_LIBRARY_PATH=/mesa/lib/ @@ -17,7 +23,7 @@ cd /deqp/modules/gles2 # Generate test case list file weston --tty=7 & sleep 1 # Give some time for Weston to start up -./deqp-gles2 --deqp-runmode=stdout-caselist | grep "TEST: dEQP-GLES2" | cut -d ' ' -f 2 > /tmp/case-list.txt +./deqp-gles2 $DEQP_OPTIONS --deqp-runmode=stdout-caselist | grep "TEST: dEQP-GLES2" | cut -d ' ' -f 2 > /tmp/case-list.txt # Disable for now tests that are very slow, either by just using lots of CPU or by crashing sed -i '/dEQP-GLES2.performance/d' /tmp/case-list.txt @@ -31,7 +37,7 @@ tail -f /tmp/result.txt & while [ -s /tmp/case-list.txt ]; do head -$BATCH_SIZE /tmp/case-list.txt > /tmp/next-batch.txt - ./deqp-gles2 --deqp-log-filename=/dev/null --deqp-caselist-file=/tmp/next-batch.txt --deqp-watchdog=enable --deqp-crashhandler=enable >> /tmp/result.txt + ./deqp-gles2 $DEQP_OPTIONS --deqp-log-filename=/dev/null --deqp-caselist-file=/tmp/next-batch.txt >> /tmp/result.txt deqp_status=$? kill $(pidof weston) |