v3dv: use VkSurface to retrieve an authenticated display fd

We still need a fallback for the case where the application makes
WSI allocations without a surface (Zink),  but for the general case,
this is the right way to do this, as it would ensure that we use
the same display connection that was used to create the surface.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <mesa/mesa!7631>
89 jobs for master in 19 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Container
manual #5689388
aarch64 manual
arm_build
manual #5689389
manual
arm_test-base
passed #5689390
git_archive

00:00:11

manual #5689385
manual
x86_build-base
manual #5689387
manual
x86_build_old
manual #5689386
manual
x86_test-base
 
  Container 2
created #5689398
android_build
created #5689401
arm64_test
created #5689395
i386_build
created #5689391
kernel+rootfs_amd64
created #5689392
aarch64
kernel+rootfs_arm64
created #5689393
aarch64
kernel+rootfs_armhf
created #5689396
ppc64el_build
created #5689397
s390x_build
created #5689394
x86_build
created #5689399
x86_test-gl
created #5689400
x86_test-vk
 
  Sanity
passed #5689402
check mr

00:00:07

 
  Deploy
manual #5689403
manual
test-docs
 
  Meson X86 64
created #5689409
meson-clang
created #5689408
meson-classic
created #5689410
meson-clover
created #5689405
meson-clover-testing
created #5689406
meson-gallium
created #5689407
meson-release
created #5689404
meson-testing
created #5689411
meson-vulkan
 
  Scons
created #5689412
allowed to fail
scons-win64
 
  Meson Misc
created #5689413
meson-android
created #5689415
aarch64
meson-arm64
created #5689416
aarch64
meson-arm64-build-test
created #5689414
aarch64
meson-armhf
created #5689417
meson-i386
created #5689420
meson-mingw32-x86_64
created #5689419
kvm
meson-ppc64el
created #5689418
kvm
meson-s390x
 
  Llvmpipe
created #5689425
llvmpipe-gles2
created #5689426
llvmpipe-traces
created #5689421
piglit-cl
created #5689423
piglit-glslparser
created #5689422
piglit-quick_gl
created #5689424
piglit-quick_shader
 
  Softpipe
created #5689431
softpipe-gl
created #5689427
softpipe-gles2
created #5689428
softpipe-gles3
created #5689429
softpipe-gles31 1/2
created #5689430
softpipe-gles31 2/2
 
  Freedreno
created #5689441
google-freedreno-db410c
arm64_a306_gles2
created #5689442
google-freedreno-db410c
arm64_a306_gles3
created #5689443
google-freedreno-db410c
arm64_a306_gles3_options
created #5689444
google-freedreno-db820c
arm64_a530_gles2 1/2
created #5689445
google-freedreno-db820c
arm64_a530_gles2 2/2
created #5689446
google-freedreno-db820c
arm64_a530_gles3
created #5689447
google-freedreno-db820c
arm64_a530_gles31
created #5689436
google-freedreno-cheza
arm64_a630_gl
created #5689432
google-freedreno-cheza
arm64_a630_gles2
created #5689434
google-freedreno-cheza
arm64_a630_gles3
created #5689433
google-freedreno-cheza
arm64_a630_gles31
created #5689437
google-freedreno-cheza
arm64_a630_gles_others
created #5689435
google-freedreno-cheza
arm64_a630_traces
created #5689438
google-freedreno-cheza
arm64_a630_vk 1/2
created #5689439
google-freedreno-cheza
arm64_a630_vk 2/2
created #5689440
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Panfrost
created #5689453
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #5689448
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #5689449
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #5689450
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #5689451
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #5689452
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Radv
created #5689455
radv-fossils
created #5689456
polaris10 manual
radv-polaris10-traces
created #5689454
polaris10 manual
radv_polaris10_vkcts
created #5689457
raven manual
radv-raven-traces
 
  Virgl
created #5689462
virgl-gl30-on-gl
created #5689463
virgl-gl31-on-gl
created #5689464
virgl-gl32-on-gl
created #5689458
virgl-gles2-on-gl
created #5689465
manual
virgl-gles2-on-gles
created #5689460
virgl-gles31-on-gl 1/2
created #5689461
virgl-gles31-on-gl 2/2
created #5689467
manual
virgl-gles31-on-gles 1/2
created #5689468
manual
virgl-gles31-on-gles 2/2
created #5689459
virgl-gles3-on-gl
created #5689466
manual
virgl-gles3-on-gles
created #5689469
virgl-traces
 
  Radeonsi
created #5689470
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #5689472
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #5689471
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64
created #5689473
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64