WIP: Static thread-safety checking with clang

In file included from ../../master/src/gallium/drivers/freedreno/gmemtool.c:30:
../../master/src/gallium/drivers/freedreno/freedreno_gmem.c:532:25: error: calling function 'gmem_key_init' requires holding lock 'fd_screen_lock_cap' exclusively [-Werror,-Wthread-safety-analysis]
        struct gmem_key *key = gmem_key_init(batch, assume_zs, no_scis_opt);
                               ^
1 error generated.
82 jobs for !7529 with thread-safety
latest detached
Status Job ID Name Coverage
  Container+Docs
manual #5504430
aarch64 manual
arm_build
manual #5504431
manual
arm_test-base
manual #5504427
manual
x86_build-base
manual #5504429
manual
x86_build_old
manual #5504428
manual
x86_test-base
 
  Container 2
created #5504439
android_build
created #5504442
arm64_test
created #5504436
i386_build
created #5504432
kernel+rootfs_amd64
created #5504433
aarch64
kernel+rootfs_arm64
created #5504434
aarch64
kernel+rootfs_armhf
created #5504437
ppc64el_build
created #5504438
s390x_build
created #5504435
x86_build
created #5504440
x86_test-gl
created #5504441
x86_test-vk
 
  Meson X86 64
created #5504451
meson-clang
created #5504449
meson-classic
created #5504453
meson-clover
created #5504444
meson-clover-testing
created #5504445
meson-gallium
created #5504447
meson-release
created #5504443
meson-testing
created #5504455
meson-vulkan
 
  Scons
created #5504457
allowed to fail
scons-win64
 
  Meson Misc
created #5504459
meson-android
created #5504463
aarch64
meson-arm64
created #5504465
aarch64
meson-arm64-build-test
created #5504461
aarch64
meson-armhf
created #5504467
meson-i386
created #5504474
meson-mingw32-x86_64
created #5504472
kvm
meson-ppc64el
created #5504469
kvm
meson-s390x
 
  Llvmpipe
created #5504484
llvmpipe-gles2
created #5504486
llvmpipe-traces
created #5504476
piglit-cl
created #5504480
piglit-glslparser
created #5504478
piglit-quick_gl
created #5504482
piglit-quick_shader
 
  Softpipe
created #5504496
softpipe-gl
created #5504488
softpipe-gles2
created #5504490
softpipe-gles3
created #5504492
softpipe-gles31 1/2
created #5504494
softpipe-gles31 2/2
 
  Freedreno
created #5504518
google-freedreno-db410c
arm64_a306_gles2
created #5504519
google-freedreno-db410c
arm64_a306_gles3
created #5504520
google-freedreno-db410c
arm64_a306_gles3_options
created #5504521
google-freedreno-db820c
arm64_a530_gles2
created #5504522
google-freedreno-db820c
arm64_a530_gles3
created #5504523
google-freedreno-db820c
arm64_a530_gles31
created #5504507
google-freedreno-cheza
arm64_a630_bypass
created #5504513
google-freedreno-cheza
arm64_a630_gl
created #5504498
google-freedreno-cheza
arm64_a630_gles2
created #5504503
google-freedreno-cheza
arm64_a630_gles3
created #5504501
google-freedreno-cheza
arm64_a630_gles31
created #5504515
google-freedreno-cheza
arm64_a630_gles31_565nozs
created #5504514
google-freedreno-cheza
arm64_a630_gles3_565nozs
created #5504511
google-freedreno-cheza
arm64_a630_gmem
created #5504505
google-freedreno-cheza
arm64_a630_noubo
created #5504509
google-freedreno-cheza
arm64_a630_traces
created #5504516
google-freedreno-cheza
arm64_a630_vk
created #5504517
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Panfrost
created #5504530
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #5504524
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #5504525
mesa-ci-aarch64-lava-collabora
panfrost-t760-gles2:armhf
created #5504526
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #5504527
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #5504528
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #5504529
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Radv
created #5504531
radv-fossils
 
  Virgl
created #5504536
virgl-gl30-on-gl
created #5504537
virgl-gl31-on-gl
created #5504538
virgl-gl32-on-gl
created #5504532
virgl-gles2-on-gl
created #5504534
virgl-gles31-on-gl 1/2
created #5504535
virgl-gles31-on-gl 2/2
created #5504533
virgl-gles3-on-gl
created #5504539
virgl-traces
 
  Radeonsi
created #5504540
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #5504542
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #5504541
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64
created #5504543
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64