st/mesa: always execute glFlush asynchronously

Same as glthread. This improves viewperf performance.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
116 jobs for !9671 with st-mesa-flush-async in 67 minutes and 17 seconds (queued for 7 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #8353465
sanity

00:00:10

 
  Container
passed #8353470
aarch64 manual
arm_build

00:00:14

passed #8353472
manual
arm_test-base

00:00:09

passed #8353473
windows shell 1809 mesa manual
windows_build_vs2019

00:00:08

passed #8353467
manual
x86_build-base

00:00:14

passed #8353468
manual
x86_test-base

00:00:12

 
  Container 2
passed #8353487
android_build

00:00:12

passed #8353493
arm64_test

00:00:09

passed #8353494
armhf_test

00:00:11

passed #8353482
i386_build

00:00:12

passed #8353475
kernel+rootfs_amd64

00:00:16

passed #8353477
aarch64
kernel+rootfs_arm64

00:01:12

passed #8353479
aarch64
kernel+rootfs_armhf

00:00:10

passed #8353484
ppc64el_build

00:00:11

passed #8353486
s390x_build

00:00:11

passed #8353481
x86_build

00:00:11

passed #8353489
x86_test-gl

00:00:10

passed #8353491
x86_test-vk

00:00:10

 
  Meson X86 64
passed #8353504
meson-clang

00:05:20

passed #8353505
meson-clover

00:03:52

passed #8353499
meson-clover-testing

00:02:40

passed #8353501
meson-gallium

00:06:14

passed #8353502
meson-release

00:03:18

passed #8353496
meson-testing

00:02:44

passed #8353498
meson-testing-asan

00:03:22

passed #8353507
meson-vulkan

00:02:14

 
  Build Misc
passed #8353509
meson-android

00:03:10

passed #8353512
aarch64
meson-arm64

00:01:42

passed #8353514
aarch64
meson-arm64-asan

00:03:03

passed #8353516
aarch64
meson-arm64-build-test

00:01:39

passed #8353510
aarch64
meson-armhf

00:01:32

passed #8353521
meson-i386

00:02:14

passed #8353527
meson-mingw32-x86_64

00:02:13

passed #8353525
kvm
meson-ppc64el

00:01:49

passed #8353523
kvm
meson-s390x

00:05:43

passed #8353518
docker windows 1809 mesa
meson-windows-vs2019

00:04:07

 
  Amd
passed #8353531
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64

00:09:18

failed #8353533
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64

00:09:20

passed #8353529
radv-fossils

00:10:21

 
  Arm
passed #8353549
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64

00:03:58

passed #8353551
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64

00:06:35

passed #8353535
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64

00:07:11

failed #8353537
mesa-ci-aarch64-lava-collabora
panfrost-t760-gles2:armhf

01:00:02

failed #8353539
mesa-ci-aarch64-lava-collabora
panfrost-t760-traces:armhf

01:00:02

passed #8353541
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64

00:03:52

passed #8353543
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2

00:05:58

passed #8353545
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2

00:06:53

passed #8353547
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64

00:10:50

 
  Broadcom
passed #8353573
igalia-rpi4
v3d-rpi4-gles2:armhf

00:07:53

passed #8353561
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2

00:05:58

passed #8353563
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2

00:05:54

passed #8353565
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4

00:05:25

passed #8353567
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4

00:05:34

passed #8353569
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4

00:06:13

passed #8353571
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4

00:04:57

passed #8353575
igalia-rpi4
v3dv-rpi4-vk:armhf 1/6

00:08:40

passed #8353577
igalia-rpi4
v3dv-rpi4-vk:armhf 2/6

00:07:44

passed #8353579
igalia-rpi4
v3dv-rpi4-vk:armhf 3/6

00:08:10

passed #8353581
igalia-rpi4
v3dv-rpi4-vk:armhf 4/6

00:08:33

passed #8353583
igalia-rpi4
v3dv-rpi4-vk:armhf 5/6

00:08:05

passed #8353585
igalia-rpi4
v3dv-rpi4-vk:armhf 6/6

00:08:31

passed #8353554
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4

00:05:50

passed #8353555
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4

00:03:58

passed #8353557
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4

00:04:33

passed #8353559
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4

00:04:18

 
  Freedreno
passed #8353588
google-freedreno-db410c
a306_gles2

00:04:37

passed #8353590
google-freedreno-db410c
a306_gles3 1/3

00:08:49

passed #8353592
google-freedreno-db410c
a306_gles3 2/3

00:08:47

passed #8353594
google-freedreno-db410c
a306_gles3 3/3

00:08:53

passed #8353596
google-freedreno-db410c
a306_gles3_options

00:02:37

passed #8353598
google-freedreno-db820c
a530_gles2

00:05:32

passed #8353604
google-freedreno-db820c
a530_gles31 1/2

00:05:20

passed #8353600
google-freedreno-db820c
a530_gles3 1/2

00:07:48

passed #8353606
google-freedreno-db820c
a530_gles31 2/2

00:05:49

passed #8353602
google-freedreno-db820c
a530_gles3 2/2

00:07:35

passed #8353608
google-freedreno-db820c
a530_piglit_gl

00:09:20

passed #8353610
google-freedreno-db820c
a530_piglit_shader

00:08:37

passed #8353618
google-freedreno-cheza
a630_gl

00:01:17

passed #8353612
google-freedreno-cheza
a630_gles2

00:01:27

passed #8353616
google-freedreno-cheza
a630_gles3

00:04:35

passed #8353614
google-freedreno-cheza
a630_gles31

00:03:53

passed #8353622
google-freedreno-cheza
a630_gles_asan

00:03:28

passed #8353620
google-freedreno-cheza
a630_gles_others

00:02:34

passed #8353631
google-freedreno-cheza
a630_piglit_gl

00:06:22

passed #8353634
google-freedreno-cheza
a630_piglit_shader

00:05:03

failed #8353636
google-freedreno-cheza
a630-traces

01:00:02

passed #8353624
google-freedreno-cheza
a630_vk 1/2

00:06:41

passed #8353626
google-freedreno-cheza
a630_vk 2/2

00:08:14

passed #8353629
google-freedreno-cheza
a630_vk_sysmem

00:02:10

 
  Software Renderer
passed #8353664
lavapipe-vk

00:08:21

passed #8353648
llvmpipe-gles2

00:01:59

passed #8353638
llvmpipe-piglit-cl

00:02:34

passed #8353642
llvmpipe-piglit-glslparser

00:02:50

passed #8353640
llvmpipe-piglit-quick_gl

00:07:48

passed #8353644
llvmpipe-piglit-quick_shader

00:07:01

passed #8353646
llvmpipe-traces

00:02:13

passed #8353658
softpipe-asan-gles31

00:02:55

passed #8353662
softpipe-gl

00:01:08

passed #8353650
softpipe-gles2

00:01:00

passed #8353652
softpipe-gles3

00:08:17

passed #8353654
softpipe-gles31 1/2

00:04:06

passed #8353656
softpipe-gles31 2/2

00:02:17

passed #8353660
softpipe-piglit-quick

00:10:30

 
  Layered Backends
passed #8353687
docker windows 1809 mesa
test-d3d12-windows

00:03:10

passed #8353675
virgl-gl30-on-gl

00:00:29

passed #8353677
virgl-gl31-on-gl

00:00:50

passed #8353679
virgl-gl32-on-gl

00:01:25

passed #8353667
virgl-gles2-on-gl

00:01:37

passed #8353671
virgl-gles31-on-gl 1/2

00:04:20

passed #8353673
virgl-gles31-on-gl 2/2

00:02:26

passed #8353669
virgl-gles3-on-gl

00:04:35

passed #8353681
virgl-traces

00:00:47

passed #8353686
zink-lvp-gl

00:01:06

passed #8353684
zink-lvp-gles2

00:02:54

passed #8353685
zink-lvp-gles3

00:01:45

passed #8353682
zink-piglit-quick_gl

00:04:33

 
Name Stage Failure
failed
radeonsi-stoney-traces:amd64 Amd
Uploading artifacts for failed job
Uploading artifacts...
artifacts/: found 4 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=8353533 responseStatus=201 Created token=LwoTtGVc
Uploading artifacts...
artifacts/junit.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=8353533 responseStatus=201 Created token=LwoTtGVc
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
panfrost-t760-gles2:armhf Arm The script exceeded the maximum execution time set for the job
$ if wget -q --method=HEAD "${ARTIFACTS_PREFIX}/${FDO_UPSTREAM_REPO}/${DISTRIBUTION_TAG}/${ARCH}/done"; then # collapsed multi-line command
$ artifacts/generate_lava.py \ # collapsed multi-line command
$ lava_job_id=`lavacli jobs submit lava-${TEST_SUITE}.yml` || lavacli jobs submit lava-${TEST_SUITE}.yml
$ echo $lava_job_id
3433940
$ rm -rf artifacts/*
$ cp lava-${TEST_SUITE}.yml artifacts/.
$ lavacli jobs logs $lava_job_id | tee artifacts/lava-${TEST_SUITE}-$lava_job_id.log
ERROR: Job failed: execution took longer than 1h0m0s seconds
failed
panfrost-t760-traces:armhf Arm The script exceeded the maximum execution time set for the job
$ if wget -q --method=HEAD "${ARTIFACTS_PREFIX}/${FDO_UPSTREAM_REPO}/${DISTRIBUTION_TAG}/${ARCH}/done"; then # collapsed multi-line command
$ artifacts/generate_lava.py \ # collapsed multi-line command
$ lava_job_id=`lavacli jobs submit lava-${TEST_SUITE}.yml` || lavacli jobs submit lava-${TEST_SUITE}.yml
$ echo $lava_job_id
3433939
$ rm -rf artifacts/*
$ cp lava-${TEST_SUITE}.yml artifacts/.
$ lavacli jobs logs $lava_job_id | tee artifacts/lava-${TEST_SUITE}-$lava_job_id.log
ERROR: Job failed: execution took longer than 1h0m0s seconds
failed
a630-traces Freedreno The script exceeded the maximum execution time set for the job
21-03-27 09:37:06 R SERIAL-CPU> + FAILURE_MESSAGE=Unexpected change in results:
21-03-27 09:37:06 R SERIAL-CPU> + eval export LD_LIBRARY_PATH=/waffle/build/lib::/install/lib/:/renderdoc/build/lib; wflinfo --platform glx --api gl | tee /tmp/version.txt | grep "Mesa 21\.1\.0-devel (git-207d3f0444)\(\s\|$\)" && ./piglit run -j8 replay /results
21-03-27 09:37:06 R SERIAL-CPU> + export LD_LIBRARY_PATH=/waffle/build/lib::/install/lib/:/renderdoc/build/lib
21-03-27 09:37:06 R SERIAL-CPU> + wflinfo --platform glx --api gl
21-03-27 09:37:06 R SERIAL-CPU> + tee /tmp/version.txt
21-03-27 09:37:06 R SERIAL-CPU> + grep Mesa 21\.1\.0-devel (git-207d3f0444)\(\s\|$\)
21-03-27 09:37:06 R SERIAL-CPU> OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.1.0-devel (git-207d3f0444)
21-03-27 09:37:06 R SERIAL-CPU> + ./piglit run -j8 replay /results
ERROR: Job failed: execution took longer than 1h0m0s seconds