mesa: Synchronize get_gl_override()

Fixes helgrind complaint found with piglit glx-multithread-clearbuffer.
This is a legit race because override[api].version is cleared before
parsing the override string.

Signed-off-by: Rob Clark <robdclark@chromium.org>
81 jobs for !7644 with wip/simplemtx-helgrind in 20 seconds (queued for 3 seconds)
detached
Status Job ID Name Coverage
  Container
manual #5769433
aarch64 manual
arm_build
manual #5769434
manual
arm_test-base
passed #5769435
git_archive

00:00:11

manual #5769430
manual
x86_build-base
manual #5769432
manual
x86_build_old
manual #5769431
manual
x86_test-base
 
  Container 2
created #5769443
android_build
created #5769446
arm64_test
created #5769440
i386_build
created #5769436
kernel+rootfs_amd64
created #5769437
aarch64
kernel+rootfs_arm64
created #5769438
aarch64
kernel+rootfs_armhf
created #5769441
ppc64el_build
created #5769442
s390x_build
created #5769439
x86_build
created #5769444
x86_test-gl
created #5769445
x86_test-vk
 
  Sanity
passed #5769447
check mr

00:00:09

 
  Meson X86 64
created #5769453
meson-clang
created #5769452
meson-classic
created #5769454
meson-clover
created #5769449
meson-clover-testing
created #5769450
meson-gallium
created #5769451
meson-release
created #5769448
meson-testing
created #5769455
meson-vulkan
 
  Scons
created #5769456
allowed to fail
scons-win64
 
  Meson Misc
created #5769457
meson-android
created #5769459
aarch64
meson-arm64
created #5769460
aarch64
meson-arm64-build-test
created #5769458
aarch64
meson-armhf
created #5769461
meson-i386
created #5769464
meson-mingw32-x86_64
created #5769463
kvm
meson-ppc64el
created #5769462
kvm
meson-s390x
 
  Llvmpipe
created #5769469
llvmpipe-gles2
created #5769470
llvmpipe-traces
created #5769465
piglit-cl
created #5769467
piglit-glslparser
created #5769466
piglit-quick_gl
created #5769468
piglit-quick_shader
 
  Softpipe
created #5769475
softpipe-gl
created #5769471
softpipe-gles2
created #5769472
softpipe-gles3
created #5769473
softpipe-gles31 1/2
created #5769474
softpipe-gles31 2/2
 
  Freedreno
created #5769485
google-freedreno-db410c
arm64_a306_gles2
created #5769486
google-freedreno-db410c
arm64_a306_gles3
created #5769487
google-freedreno-db410c
arm64_a306_gles3_options
created #5769488
google-freedreno-db820c
arm64_a530_gles2 1/2
created #5769489
google-freedreno-db820c
arm64_a530_gles2 2/2
created #5769490
google-freedreno-db820c
arm64_a530_gles3
created #5769491
google-freedreno-db820c
arm64_a530_gles31
created #5769480
google-freedreno-cheza
arm64_a630_gl
created #5769476
google-freedreno-cheza
arm64_a630_gles2
created #5769478
google-freedreno-cheza
arm64_a630_gles3
created #5769477
google-freedreno-cheza
arm64_a630_gles31
created #5769481
google-freedreno-cheza
arm64_a630_gles_others
created #5769479
google-freedreno-cheza
arm64_a630_traces
created #5769482
google-freedreno-cheza
arm64_a630_vk 1/2
created #5769483
google-freedreno-cheza
arm64_a630_vk 2/2
created #5769484
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Panfrost
created #5769497
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #5769492
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #5769493
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #5769494
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #5769495
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #5769496
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Radv
created #5769498
radv-fossils
 
  Virgl
created #5769503
virgl-gl30-on-gl
created #5769504
virgl-gl31-on-gl
created #5769505
virgl-gl32-on-gl
created #5769499
virgl-gles2-on-gl
created #5769501
virgl-gles31-on-gl 1/2
created #5769502
virgl-gles31-on-gl 2/2
created #5769500
virgl-gles3-on-gl
created #5769506
virgl-traces
 
  Radeonsi
created #5769507
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #5769509
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #5769508
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64
created #5769510
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64