virgl: implement resource_get_handle for vtest

Fixes a crash on piglit test `glx-tfp`.

This implementation is based on the implementatio of resource_get_handle
for softpipe and llvmpipe.

Signed-off-by: Italo Nicola <italonicola@collabora.com>
153 jobs for !10348 with glx-tfp in 41 seconds (queued for 15 seconds)
latest detached
Status Name Job ID Coverage
  Sanity
passed sanity #13660213

00:00:41

 
  Container
manual debian/arm_build #13660216
aarch64 manual
manual debian/x86_build-base #13660214
manual
manual debian/x86_test-base #13660215
manual
manual fedora/x86_build #13660217
manual
manual windows_build_vs2019 #13660218
windows shell 1809 mesa manual
 
  Container 2
created debian/android_build #13660223
created debian/i386_build #13660220
created debian/ppc64el_build #13660221
created debian/s390x_build #13660222
created debian/x86_build #13660219
created debian/x86_test-gl #13660224
created debian/x86_test-vk #13660225
created kernel+rootfs_amd64 #13660226
created kernel+rootfs_arm64 #13660227
aarch64
created kernel+rootfs_armhf #13660228
aarch64
 
  Build X86 64
created debian-clang #13660235
created debian-clover #13660236
created debian-clover-testing #13660231
created debian-gallium #13660232
created debian-release #13660233
created debian-testing #13660229
created debian-testing-asan #13660230
created debian-vulkan #13660237
created fedora-release #13660234
 
  Build Misc
created debian-android #13660239
created debian-arm64 #13660241
aarch64
created debian-arm64-asan #13660242
aarch64
created debian-arm64-build-test #13660243
aarch64
created debian-armhf #13660240
aarch64
created debian/arm_test #13660238
created debian-i386 #13660245
created debian-mingw32-x86_64 #13660248
created debian-ppc64el #13660247
created debian-s390x #13660246
kvm
created windows-vs2019 #13660244
windows docker 1809 mesa
 
  Amd
created radeonsi-stoney-gles2:amd64 #13660249
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 1/2 #13660252
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 2/2 #13660253
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 1/2 #13660250
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 2/2 #13660251
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-piglit-gl:amd64 #13660255
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-traces:amd64 #13660254
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
 
  Intel
created i915-g33-deqp #13660256
anholt-g33 manual
created i915-g33-khr-deqp #13660257
anholt-g33 manual
created i915-g33-piglit #13660258
anholt-g33 manual
created i915-g33-traces #13660259
anholt-g33 manual
created iris-apl-egl #13660264
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-gl #13660263
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral manual
created iris-apl-gles2 #13660260
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-gles3 #13660261
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-gles31 #13660262
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-traces #13660270
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-glk-egl #13660269
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gl #13660268
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gles2 #13660265
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gles3 #13660266
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gles31 #13660267
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-traces #13660271
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-kbl-traces #13660272
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
 
  Arm
created panfrost-g52-gles31:arm64 #13660282
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gles3:arm64 1/2 #13660280
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gles3:arm64 2/2 #13660281
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-t720-gles2:arm64 #13660273
mesa-ci-x86-64-lava-sun50i-h6-pine-h64
created panfrost-t760-gles2:armhf #13660274
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t760-traces:armhf #13660275
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t860-gles31:arm64 #13660278
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gles3:arm64 1/2 #13660276
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gles3:arm64 2/2 #13660277
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-traces:arm64 #13660279
mesa-ci-x86-64-lava-rk3399-gru-kevin
 
  Broadcom
created v3d-rpi4-egl:armhf #13660299
igalia-rpi4
created v3d-rpi4-gles2:armhf #13660295
igalia-rpi4
created v3d-rpi4-gles31:armhf 1/2 #13660289
igalia-rpi4
created v3d-rpi4-gles31:armhf 2/2 #13660290
igalia-rpi4
created v3d-rpi4-gles3:armhf 1/4 #13660291
igalia-rpi4
created v3d-rpi4-gles3:armhf 2/4 #13660292
igalia-rpi4
created v3d-rpi4-gles3:armhf 3/4 #13660293
igalia-rpi4
created v3d-rpi4-gles3:armhf 4/4 #13660294
igalia-rpi4
created v3d-rpi4-khr-gles2:armhf #13660298
igalia-rpi4
created v3d-rpi4-khr-gles31:armhf #13660296
igalia-rpi4
created v3d-rpi4-khr-gles3:armhf #13660297
igalia-rpi4
created v3d-rpi4-piglit:armhf 1/3 #13660300
igalia-rpi4
created v3d-rpi4-piglit:armhf 2/3 #13660301
igalia-rpi4
created v3d-rpi4-piglit:armhf 3/3 #13660302
igalia-rpi4
created vc4-rpi3-egl:armhf #13660288
igalia-rpi3
created vc4-rpi3-gles2:armhf 1/4 #13660283
igalia-rpi3
created vc4-rpi3-gles2:armhf 2/4 #13660284
igalia-rpi3
created vc4-rpi3-gles2:armhf 3/4 #13660285
igalia-rpi3
created vc4-rpi3-gles2:armhf 4/4 #13660286
igalia-rpi3
created vc4-rpi3-khr-gles2:armhf #13660287
igalia-rpi3
 
  Freedreno
created a306_gles2 #13660303
google-freedreno-db410c
created a306_gles3 1/3 #13660304
google-freedreno-db410c
created a306_gles3 2/3 #13660305
google-freedreno-db410c
created a306_gles3 3/3 #13660306
google-freedreno-db410c
created a306_gles3_options #13660307
google-freedreno-db410c
created a306-traces #13660308
google-freedreno-db410c
created a530_gles2 #13660309
google-freedreno-db820c
created a530_gles31 1/2 #13660312
google-freedreno-db820c
created a530_gles3 1/2 #13660310
google-freedreno-db820c
created a530_gles31 2/2 #13660313
google-freedreno-db820c
created a530_gles3 2/2 #13660311
google-freedreno-db820c
created a530_piglit_gl #13660314
google-freedreno-db820c manual
created a530_piglit_shader 1/2 #13660315
google-freedreno-db820c
created a530_piglit_shader 2/2 #13660316
google-freedreno-db820c
created a530-traces #13660317
google-freedreno-db820c
created a630_egl #13660322
google-freedreno-cheza
created a630_gl #13660321
google-freedreno-cheza
created a630_gles2 #13660318
google-freedreno-cheza
created a630_gles3 #13660320
google-freedreno-cheza
created a630_gles31 #13660319
google-freedreno-cheza
created a630_gles_others #13660323
google-freedreno-cheza
created a630_piglit #13660327
google-freedreno-cheza
created a630-traces #13660328
google-freedreno-cheza
created a630_vk 1/2 #13660324
google-freedreno-cheza
created a630_vk 2/2 #13660325
google-freedreno-cheza
created a630_vk_sysmem #13660326
google-freedreno-cheza
 
  Software Renderer
created lavapipe-nir-stress #13660351
created lavapipe-vk #13660350
created llvmpipe-egl #13660339
created llvmpipe-gl #13660337
created llvmpipe-gles2 #13660334
created llvmpipe-gles3 #13660335
created llvmpipe-gles31 #13660336
created llvmpipe-khr-gles2 #13660338
created llvmpipe-piglit-cl #13660329
created llvmpipe-piglit-glslparser #13660331
created llvmpipe-piglit-quick_gl #13660330
created llvmpipe-piglit-quick_shader #13660332
created llvmpipe-traces #13660333
created softpipe-asan-gles31 #13660347
created softpipe-gl #13660349
created softpipe-gles2 #13660340
created softpipe-gles3 #13660341
created softpipe-gles31 1/2 #13660342
created softpipe-gles31 2/2 #13660343
created softpipe-khr-gles2 #13660344
created softpipe-khr-gles3 #13660345
created softpipe-khr-gles31 #13660346
created softpipe-piglit-quick #13660348
 
  Layered Backends
created test-d3d12-windows #13660365
windows docker 1809 mesa
created virgl-gl30-on-gl #13660356
created virgl-gl31-on-gl #13660357
created virgl-gl32-on-gl #13660358
created virgl-gles2-on-gl #13660352
created virgl-gles31-on-gl 1/2 #13660354
created virgl-gles31-on-gl 2/2 #13660355
created virgl-gles3-on-gl #13660353
created virgl-traces #13660359
kvm
created zink-lvp-gl #13660364
created zink-lvp-gles2 #13660362
created zink-lvp-gles3 #13660363
created zink-piglit-no_timelines #13660361
created zink-piglit-timelines #13660360