nouveau: reinstate fencing on screen destroy

As it turns out, the wait is required as the driver expects for
rendering to be quiesced on exit. This can trigger channel failures,
which in turn trigger recovery. This can fail and destroy the whole
system.

Fixes: 28a78132 ("nouveau: change fence destruction logic on screen destroy")
References: #4223
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <!8867>
91 jobs for !8867 with nouveau-fence in 17 minutes and 27 seconds (queued for 5 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed sanity #7143450

00:00:14

 
  Container
passed arm_build #7143455
aarch64

00:00:22

passed arm_test-base #7143456

00:00:18

passed windows_build_vs2019 #7143457
windows shell 1809 mesa

00:00:10

passed x86_build-base #7143452

00:00:19

passed x86_test-base #7143454

00:00:19

 
  Container 2
passed android_build #7143465

00:00:22

passed arm64_test #7143468

00:00:17

passed armhf_test #7143469

00:00:18

passed i386_build #7143462

00:00:17

passed kernel+rootfs_amd64 #7143458

00:00:24

passed kernel+rootfs_arm64 #7143459
aarch64

00:00:15

passed kernel+rootfs_armhf #7143460
aarch64

00:00:16

passed ppc64el_build #7143463

00:00:19

passed s390x_build #7143464

00:00:16

passed x86_build #7143461

00:00:21

passed x86_test-gl #7143466

00:00:18

passed x86_test-vk #7143467

00:00:19

 
  Meson X86 64
passed meson-clang #7143475

00:01:54

passed meson-clover #7143476

00:01:27

passed meson-clover-testing #7143472

00:00:44

passed meson-gallium #7143473

00:01:28

passed meson-release #7143474

00:01:15

passed meson-testing #7143470

00:01:57

passed meson-testing-asan #7143471

00:02:30

passed meson-vulkan #7143477

00:01:49

 
  Build Misc
passed meson-android #7143478

00:00:41

passed meson-arm64 #7143480
aarch64

00:01:39

passed meson-arm64-build-test #7143481
aarch64

00:01:31

passed meson-armhf #7143479
aarch64

00:02:34

passed meson-i386 #7143484

00:01:45

passed meson-mingw32-x86_64 #7143487

00:01:26

passed meson-ppc64el #7143486
kvm

00:01:53

passed meson-s390x #7143485
kvm

00:02:30

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

00:03:54

failed scons-win64 #7143483
allowed to fail

00:03:19

 
  Amd
passed radeonsi-stoney-gles2:amd64 #7143488
mesa-ci-aarch64-lava-collabora

00:07:49

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

00:08:24

passed radeonsi-stoney-gles3:amd64 #7143489
mesa-ci-aarch64-lava-collabora

00:09:48

passed radeonsi-stoney-traces:amd64 #7143491
mesa-ci-aarch64-lava-collabora

00:14:23

passed radv-fossils #7143492

00:07:14

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

00:04:15

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

00:07:05

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

00:08:12

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

00:04:03

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

00:08:08

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

00:08:12

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

00:08:59

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

00:04:31

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

00:04:25

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

00:04:32

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

00:04:27

 
  Freedreno
passed arm64_a306_gles2 #7143513
google-freedreno-db410c

00:09:18

passed arm64_a306_gles3 #7143514
google-freedreno-db410c

00:08:10

passed arm64_a306_gles3_options #7143515
google-freedreno-db410c

00:06:18

passed arm64_a530_gles2 1/2 #7143516
google-freedreno-db820c

00:09:03

passed arm64_a530_gles2 2/2 #7143517
google-freedreno-db820c

00:08:47

passed arm64_a530_gles3 #7143518
google-freedreno-db820c

00:05:17

passed arm64_a530_gles31 #7143519
google-freedreno-db820c

00:07:52

passed arm64_a630_gl #7143508
google-freedreno-cheza

00:01:26

passed arm64_a630_gles2 #7143505
google-freedreno-cheza

00:01:40

passed arm64_a630_gles3 #7143507
google-freedreno-cheza

00:05:06

passed arm64_a630_gles31 #7143506
google-freedreno-cheza

00:04:15

passed arm64_a630_gles_others #7143509
google-freedreno-cheza

00:02:56

passed arm64-a630-traces #7143504
google-freedreno-cheza

00:10:59

passed arm64_a630_vk 1/2 #7143510
google-freedreno-cheza

00:07:35

passed arm64_a630_vk 2/2 #7143511
google-freedreno-cheza

00:07:19

passed arm64_a630_vk_sysmem #7143512
google-freedreno-cheza

00:02:22

 
  Software Renderer
passed lavapipe-vk #7143533

00:04:39

passed llvmpipe-gles2 #7143525

00:02:01

passed llvmpipe-piglit-cl #7143520

00:02:32

passed llvmpipe-piglit-glslparser #7143522

00:03:15

passed llvmpipe-piglit-quick_gl #7143521

00:05:51

passed llvmpipe-piglit-quick_shader #7143523

00:06:42

passed llvmpipe-traces #7143524

00:01:36

passed softpipe-asan-gles31 #7143530

00:02:30

passed softpipe-gl #7143532

00:00:44

passed softpipe-gles2 #7143526

00:01:19

passed softpipe-gles3 #7143527

00:02:57

passed softpipe-gles31 1/2 #7143528

00:03:46

passed softpipe-gles31 2/2 #7143529

00:02:57

passed softpipe-piglit-quick #7143531

00:04:40

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

00:03:31

passed virgl-gl30-on-gl #7143540

00:00:30

passed virgl-gl31-on-gl #7143541

00:00:50

passed virgl-gl32-on-gl #7143542

00:01:34

passed virgl-gles2-on-gl #7143536

00:02:16

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

00:06:03

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

00:04:34

passed virgl-gles3-on-gl #7143537

00:02:27

passed virgl-traces #7143535

00:00:44

 
Name Stage Failure
failed
scons-win64 Build Misc
max cache size                       5.0 GB
Uploading artifacts for failed job
Uploading artifacts...
WARNING: _build/meson-logs/*.txt: no matching files
build/*/config.log: found 2 matching files and directories

WARNING: shader-db: no matching files
Uploading artifacts as "archive" to coordinator... ok
id=7143483 responseStatus=201 Created token=KUwzBiKj
Cleaning up file based variables
ERROR: Job failed: exit code 1