panfrost: Add userspace crash dump decoder and analyser

Introduces a binary dump analyser and BO decoder whose format was partially
borrowed from etnaviv's kernel driver. It leverages the pandecode library to
analyse BO's attached to the GPU job that caused the crash.

Binary dump should be generated by a component of Panfrost's kernel driver.

Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
189 jobs for !14034 with panfrost-dumpdecode in 7 seconds (queued for 36 seconds)
detached
Status Name Job ID Coverage
  Sanity
passed sanity #16345206

00:00:07

 
  Container
created debian/android_build #16345217
manual debian/arm_build #16345223
aarch64 manual
created debian/arm_test #16345232
created debian/i386_build #16345212
created debian/ppc64el_build #16345213
created debian/s390x_build #16345215
created debian/x86_build #16345210
manual debian/x86_build-base #16345208
manual
manual debian/x86_test-base #16345218
manual
created debian/x86_test-gl #16345220
created debian/x86_test-vk #16345221
manual fedora/x86_build #16345225
manual
created kernel+rootfs_amd64 #16345226
created kernel+rootfs_arm64 #16345228
aarch64
created kernel+rootfs_armhf #16345230
aarch64
manual windows_build_vs2019 #16345234
windows shell 1809 mesa manual
 
  Build X86 64
created debian-clang #16345247
created debian-clover #16345248
created debian-clover-testing #16345240
created debian-gallium #16345242
created debian-release #16345244
created debian-testing #16345237
created debian-testing-asan #16345238
created debian-vulkan #16345250
created fedora-release #16345245
 
  Build Misc
created debian-android #16345252
created debian-arm64 #16345256
aarch64
created debian-arm64-asan #16345258
aarch64
created debian-arm64-build-test #16345260
aarch64
created debian-armhf #16345254
aarch64
created debian-i386 #16345265
created debian-mingw32-x86_64 #16345270
created debian-ppc64el #16345268
created debian-s390x #16345266
kvm
created windows-vs2019 #16345262
windows docker 1809 mesa
 
  Amd
created radeonsi-stoney-gl:amd64 1/5 #16345280
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gl:amd64 2/5 #16345282
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gl:amd64 3/5 #16345284
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gl:amd64 4/5 #16345286
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gl:amd64 5/5 #16345288
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-piglit-gl:amd64 #16345292
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-traces:amd64 #16345290
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-va:amd64 #16345295
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv-fossils #16345278
created radv_stoney_vkcts:amd64 1/3 #16345272
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 2/3 #16345274
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 3/3 #16345276
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
 
  Intel
created i915-g33-deqp #16345297
anholt-g33 manual
created i915-g33-piglit #16345299
anholt-g33 manual
created i915-g33-traces #16345301
anholt-g33 manual
created iris-amly-deqp 1/3 #16345317
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-deqp 2/3 #16345319
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-deqp 3/3 #16345321
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-egl #16345335
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-piglit 1/3 #16345337
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-piglit 2/3 #16345339
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-piglit 3/3 #16345341
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-traces #16345347
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-apl-deqp 1/3 #16345303
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-deqp 2/3 #16345305
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-deqp 3/3 #16345307
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-egl #16345309
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-traces #16345343
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-cml-deqp 1/2 #16345331
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual
created iris-cml-deqp 2/2 #16345333
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual
created iris-cml-traces #16345353
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual
created iris-glk-deqp 1/2 #16345311
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-glk-deqp 2/2 #16345313
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-glk-egl #16345315
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-glk-traces #16345345
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-kbl-deqp 1/3 #16345323
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-kbl-deqp 2/3 #16345325
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-kbl-deqp 3/3 #16345327
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-kbl-traces #16345349
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-whl-deqp #16345329
mesa-ci-x86-64-lava-dell-latitude-5400-4305U-sarien manual
created iris-whl-traces #16345351
mesa-ci-x86-64-lava-dell-latitude-5400-4305U-sarien manual
 
  Arm
created panfrost-g52-gl:arm64 1/3 #16345370
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gl:arm64 2/3 #16345372
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gl:arm64 3/3 #16345374
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-piglit-gl:arm64 1/2 #16345378
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3 manual
created panfrost-g52-piglit-gl:arm64 2/2 #16345380
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3 manual
created panfrost-g52-vk:arm64 #16345376
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g72-gl:arm64 1/3 #16345382
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
created panfrost-g72-gl:arm64 2/3 #16345384
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
created panfrost-g72-gl:arm64 3/3 #16345386
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
created panfrost-t720-gles2:arm64 #16345356
mesa-ci-x86-64-lava-sun50i-h6-pine-h64
created panfrost-t760-gles2:armhf #16345358
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t760-traces:armhf #16345359
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t860-gl:arm64 1/3 #16345361
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gl:arm64 2/3 #16345363
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gl:arm64 3/3 #16345365
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-traces:arm64 #16345368
mesa-ci-x86-64-lava-rk3399-gru-kevin
 
  Broadcom
created v3d-rpi4-egl:armhf #16345412
igalia-rpi4
created v3d-rpi4-gles:armhf 1/8 #16345393
igalia-rpi4
created v3d-rpi4-gles:armhf 2/8 #16345395
igalia-rpi4
created v3d-rpi4-gles:armhf 3/8 #16345397
igalia-rpi4
created v3d-rpi4-gles:armhf 4/8 #16345399
igalia-rpi4
created v3d-rpi4-gles:armhf 5/8 #16345401
igalia-rpi4
created v3d-rpi4-gles:armhf 6/8 #16345404
igalia-rpi4
created v3d-rpi4-gles:armhf 7/8 #16345407
igalia-rpi4
created v3d-rpi4-gles:armhf 8/8 #16345409
igalia-rpi4
created v3d-rpi4-piglit:armhf 1/4 #16345415
igalia-rpi4
created v3d-rpi4-piglit:armhf 2/4 #16345417
igalia-rpi4
created v3d-rpi4-piglit:armhf 3/4 #16345420
igalia-rpi4
created v3d-rpi4-piglit:armhf 4/4 #16345422
igalia-rpi4
created v3dv-rpi4-vk:arm64 1/8 #16345424
igalia-rpi4
created v3dv-rpi4-vk:arm64 2/8 #16345427
igalia-rpi4
created v3dv-rpi4-vk:arm64 3/8 #16345428
igalia-rpi4
created v3dv-rpi4-vk:arm64 4/8 #16345430
igalia-rpi4
created v3dv-rpi4-vk:arm64 5/8 #16345431
igalia-rpi4
created v3dv-rpi4-vk:arm64 6/8 #16345433
igalia-rpi4
created v3dv-rpi4-vk:arm64 7/8 #16345435
igalia-rpi4
created v3dv-rpi4-vk:arm64 8/8 #16345437
igalia-rpi4
created vc4-rpi3-egl:armhf #16345391
igalia-rpi3
created vc4-rpi3-gles:armhf 1/2 #16345388
igalia-rpi3
created vc4-rpi3-gles:armhf 2/2 #16345390
igalia-rpi3
 
  Freedreno
created a306_gl 1/5 #16345439
google-freedreno-db410c
created a306_gl 2/5 #16345441
google-freedreno-db410c
created a306_gl 3/5 #16345443
google-freedreno-db410c
created a306_gl 4/5 #16345445
google-freedreno-db410c
created a306_gl 5/5 #16345448
google-freedreno-db410c
created a306_piglit_gl #16345451
google-freedreno-db410c manual
created a306_piglit_shader #16345453
google-freedreno-db410c manual
created a306-traces #16345456
google-freedreno-db410c
created a530_gl 1/5 #16345457
google-freedreno-db820c manual
created a530_gl 2/5 #16345459
google-freedreno-db820c manual
created a530_gl 3/5 #16345460
google-freedreno-db820c manual
created a530_gl 4/5 #16345461
google-freedreno-db820c manual
created a530_gl 5/5 #16345462
google-freedreno-db820c manual
created a530_piglit_gl #16345463
google-freedreno-db820c manual
created a530_piglit_shader 1/2 #16345464
google-freedreno-db820c manual
created a530_piglit_shader 2/2 #16345465
google-freedreno-db820c manual
created a530-traces #16345466
google-freedreno-db820c manual
created a618_vk 1/7 #16345467
mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
created a618_vk 2/7 #16345468
mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
created a618_vk 3/7 #16345469
mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
created a618_vk 4/7 #16345470
mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
created a618_vk 5/7 #16345471
mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
created a618_vk 6/7 #16345472
mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
created a618_vk 7/7 #16345473
mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
created a618_vk_full 1/2 #16345474
mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen manual
created a618_vk_full 2/2 #16345475
mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen manual
created a630_egl #16345480
google-freedreno-cheza
created a630_gl 1/4 #16345476
google-freedreno-cheza
created a630_gl 2/4 #16345477
google-freedreno-cheza
created a630_gl 3/4 #16345478
google-freedreno-cheza
created a630_gl 4/4 #16345479
google-freedreno-cheza
created a630_piglit #16345486
google-freedreno-cheza
created a630-traces #16345487
google-freedreno-cheza
created a630_vk 1/3 #16345481
google-freedreno-cheza
created a630_vk 2/3 #16345482
google-freedreno-cheza
created a630_vk 3/3 #16345483
google-freedreno-cheza
created a630_vk_full 1/2 #16345484
google-freedreno-cheza manual
created a630_vk_full 2/2 #16345485
google-freedreno-cheza manual
 
  Etnaviv
created gc2000_gles2 #16345488
etnaviv-gc2000 manual
created gc2000_piglit #16345489
etnaviv-gc2000 manual
 
  Software Renderer
created lavapipe-nir-stress #16345504
created lavapipe-vk #16345503
created lavapipe-vk-asan #16345505
created llvmpipe-deqp 1/2 #16345495
created llvmpipe-deqp 2/2 #16345496
created llvmpipe-deqp-asan #16345497
created llvmpipe-egl #16345498
created llvmpipe-piglit-cl #16345490
created llvmpipe-piglit-glslparser #16345492
created llvmpipe-piglit-quick_gl #16345491
created llvmpipe-piglit-quick_shader #16345493
created llvmpipe-traces #16345494
created softpipe-asan-gles31 #16345501
created softpipe-deqp 1/2 #16345499
created softpipe-deqp 2/2 #16345500
created softpipe-piglit-quick #16345502
 
  Layered Backends
created test-d3d12-quick_gl #16345506
windows docker 1809 mesa
created test-d3d12-quick_shader #16345507
windows docker 1809 mesa
created test-spirv2dxil-windows #16345521
windows docker 1809 mesa
created virgl-on-gl 1/3 #16345508
kvm
created virgl-on-gl 2/3 #16345509
kvm
created virgl-on-gl 3/3 #16345510
kvm
created virgl-on-gles 1/3 #16345511
kvm
created virgl-on-gles 2/3 #16345512
kvm
created virgl-on-gles 3/3 #16345513
kvm
created virgl-traces #16345514
kvm
created zink-lvp-deqp 1/4 #16345517
created zink-lvp-deqp 2/4 #16345518
created zink-lvp-deqp 3/4 #16345519
created zink-lvp-deqp 4/4 #16345520
created zink-piglit-no_timelines #16345516
created zink-piglit-timelines #16345515