panfrost: Take a ctx when submitting/destroying

This reduces the number of batch->ctx shenanigans we do, and in turn
should reduce raciness.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
172 jobs for dumb
Status Name Job ID Coverage
  Container
manual debian/arm_build #12857821
aarch64 manual
manual debian/x86_build-base #12857819
manual
manual debian/x86_test-base #12857820
manual
manual fedora/x86_build #12857822
manual
manual windows_build_vs2019 #12857823
windows shell 1809 mesa manual
 
  Container 2
created debian/android_build #12857828
created debian/i386_build #12857825
created debian/ppc64el_build #12857826
created debian/s390x_build #12857827
created debian/x86_build #12857824
created debian/x86_test-gl #12857829
created debian/x86_test-vk #12857830
created kernel+rootfs_amd64 #12857831
created kernel+rootfs_arm64 #12857832
aarch64
created kernel+rootfs_armhf #12857833
aarch64
 
  Build X86 64
created debian-clang #12857840
created debian-clover #12857841
created debian-clover-testing #12857836
created debian-gallium #12857837
created debian-release #12857838
created debian-testing #12857834
created debian-testing-asan #12857835
created debian-vulkan #12857842
created fedora-release #12857839
 
  Build Misc
created debian-android #12857844
created debian-arm64 #12857846
aarch64
created debian-arm64-asan #12857847
aarch64
created debian-arm64-build-test #12857848
aarch64
created debian-armhf #12857845
aarch64
created debian/arm_test #12857843
created debian-i386 #12857850
created debian-mingw32-x86_64 #12857853
created debian-ppc64el #12857852
created debian-s390x #12857851
kvm
created windows-vs2019 #12857849
windows docker 1809 mesa
 
  Amd
created radeonsi-stoney-gles2:amd64 #12857862
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 1/2 #12857865
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 2/2 #12857866
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 1/2 #12857863
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 2/2 #12857864
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-piglit-gl:amd64 #12857868
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-traces:amd64 #12857867
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv-fossils #12857861
created radv-navy_flounder-traces #12857855
amdgpu:codename:NAVY_FLOUNDER manual
created radv-navy_flounder-vkd3d-proton #12857854
amdgpu:codename:NAVY_FLOUNDER manual
created radv_polaris10_vkcts #12857857
polaris10 manual
created radv-raven-traces #12857856
amdgpu:codename:RAVEN manual
created radv_stoney_vkcts:amd64 1/3 #12857858
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 2/3 #12857859
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 3/3 #12857860
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
 
  Intel
created i915-g33-deqp #12857869
anholt-g33 manual
created i915-g33-piglit #12857870
anholt-g33 manual
created i915-g33-traces #12857871
anholt-g33 manual
created iris-apl-egl #12857876
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-gl #12857875
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral manual
created iris-apl-gles2 #12857872
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-gles3 #12857873
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-gles31 #12857874
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-traces #12857882
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-glk-egl #12857881
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gl #12857880
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gles2 #12857877
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gles3 #12857878
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gles31 #12857879
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-traces #12857883
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-kbl-traces #12857884
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
 
  Arm
created lima-mali450-test:arm64 #12857885
mesa-ci-x86-64-lava-lima
created panfrost-g52-gles31:arm64 #12857895
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gles3:arm64 1/2 #12857893
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gles3:arm64 2/2 #12857894
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-t720-gles2:arm64 #12857886
mesa-ci-x86-64-lava-sun50i-h6-pine-h64
created panfrost-t760-gles2:armhf #12857887
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t760-traces:armhf #12857888
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t860-gles31:arm64 #12857891
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gles3:arm64 1/2 #12857889
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gles3:arm64 2/2 #12857890
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-traces:arm64 #12857892
mesa-ci-x86-64-lava-rk3399-gru-kevin
 
  Broadcom
created v3d-rpi4-egl:armhf #12857918
igalia-rpi4
created v3d-rpi4-gles2:armhf #12857914
igalia-rpi4
created v3d-rpi4-gles31:armhf 1/2 #12857908
igalia-rpi4
created v3d-rpi4-gles31:armhf 2/2 #12857909
igalia-rpi4
created v3d-rpi4-gles3:armhf 1/4 #12857910
igalia-rpi4
created v3d-rpi4-gles3:armhf 2/4 #12857911
igalia-rpi4
created v3d-rpi4-gles3:armhf 3/4 #12857912
igalia-rpi4
created v3d-rpi4-gles3:armhf 4/4 #12857913
igalia-rpi4
created v3d-rpi4-khr-gles2:armhf #12857917
igalia-rpi4
created v3d-rpi4-khr-gles31:armhf #12857915
igalia-rpi4
created v3d-rpi4-khr-gles3:armhf #12857916
igalia-rpi4
created v3d-rpi4-piglit:armhf 1/3 #12857920
igalia-rpi4
created v3d-rpi4-piglit:armhf 2/3 #12857922
igalia-rpi4
created v3d-rpi4-piglit:armhf 3/3 #12857925
igalia-rpi4
created v3dv-rpi4-vk:arm64 1/6 #12857927
igalia-rpi4
created v3dv-rpi4-vk:arm64 2/6 #12857929
igalia-rpi4
created v3dv-rpi4-vk:arm64 3/6 #12857930
igalia-rpi4
created v3dv-rpi4-vk:arm64 4/6 #12857933
igalia-rpi4
created v3dv-rpi4-vk:arm64 5/6 #12857935
igalia-rpi4
created v3dv-rpi4-vk:arm64 6/6 #12857937
igalia-rpi4
created vc4-rpi3-egl:armhf #12857901
igalia-rpi3
created vc4-rpi3-gles2:armhf 1/4 #12857896
igalia-rpi3
created vc4-rpi3-gles2:armhf 2/4 #12857897
igalia-rpi3
created vc4-rpi3-gles2:armhf 3/4 #12857898
igalia-rpi3
created vc4-rpi3-gles2:armhf 4/4 #12857899
igalia-rpi3
created vc4-rpi3-khr-gles2:armhf #12857900
igalia-rpi3
created vc4-rpi3-piglit-quick_gl:armhf 1/4 #12857902
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 2/4 #12857903
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 3/4 #12857904
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 4/4 #12857905
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 1/2 #12857906
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 2/2 #12857907
igalia-rpi3 manual
 
  Freedreno
created a306_gles2 #12857940
google-freedreno-db410c
created a306_gles3 1/3 #12857943
google-freedreno-db410c
created a306_gles3 2/3 #12857945
google-freedreno-db410c
created a306_gles3 3/3 #12857947
google-freedreno-db410c
created a306_gles3_options #12857948
google-freedreno-db410c
created a306-traces #12857951
google-freedreno-db410c
created a530_gles2 #12857953
google-freedreno-db820c
created a530_gles31 1/2 #12857961
google-freedreno-db820c
created a530_gles3 1/2 #12857956
google-freedreno-db820c
created a530_gles31 2/2 #12857963
google-freedreno-db820c
created a530_gles3 2/2 #12857958
google-freedreno-db820c
created a530_piglit_gl #12857966
google-freedreno-db820c manual
created a530_piglit_shader 1/2 #12857968
google-freedreno-db820c
created a530_piglit_shader 2/2 #12857970
google-freedreno-db820c
created a530-traces #12857972
google-freedreno-db820c
created a630_egl #12857982
google-freedreno-cheza
created a630_gl #12857980
google-freedreno-cheza
created a630_gles2 #12857974
google-freedreno-cheza
created a630_gles3 #12857978
google-freedreno-cheza
created a630_gles31 #12857975
google-freedreno-cheza
created a630_gles_asan #12857986
google-freedreno-cheza manual
created a630_gles_others #12857984
google-freedreno-cheza
created a630_piglit #12858000
google-freedreno-cheza
created a630-traces #12858002
google-freedreno-cheza
created a630_vk 1/2 #12857988
google-freedreno-cheza
created a630_vk 2/2 #12857990
google-freedreno-cheza
created a630_vk_asan #12857996
google-freedreno-cheza manual
created a630_vk_full 1/2 #12857992
google-freedreno-cheza manual
created a630_vk_full 2/2 #12857994
google-freedreno-cheza manual
created a630_vk_sysmem #12857998
google-freedreno-cheza
 
  Software Renderer
created lavapipe-nir-stress #12858026
created lavapipe-vk #12858024
created llvmpipe-deqp 1/2 #12858012
created llvmpipe-deqp 2/2 #12858014
created llvmpipe-egl #12858016
created llvmpipe-piglit-cl #12858004
created llvmpipe-piglit-glslparser #12858007
created llvmpipe-piglit-quick_gl #12858006
created llvmpipe-piglit-quick_shader #12858009
created llvmpipe-traces #12858011
created softpipe-asan-gles31 #12858021
created softpipe-deqp 1/2 #12858017
created softpipe-deqp 2/2 #12858019
created softpipe-piglit-quick #12858023
 
  Layered Backends
created test-d3d12-windows #12858049
windows docker 1809 mesa
created virgl-on-gl 1/6 #12858027
kvm
created virgl-on-gl 2/6 #12858029
kvm
created virgl-on-gl 3/6 #12858031
kvm
created virgl-on-gl 4/6 #12858034
kvm
created virgl-on-gl 5/6 #12858036
kvm
created virgl-on-gl 6/6 #12858037
kvm
created virgl-on-gles 1/6 #12858038
kvm manual
created virgl-on-gles 2/6 #12858039
kvm manual
created virgl-on-gles 3/6 #12858040
kvm manual
created virgl-on-gles 4/6 #12858041
kvm manual
created virgl-on-gles 5/6 #12858042
kvm manual
created virgl-on-gles 6/6 #12858043
kvm manual
created virgl-traces #12858044
kvm
created zink-lvp-deqp 1/2 #12858047
created zink-lvp-deqp 2/2 #12858048
created zink-piglit-no_timelines #12858046
created zink-piglit-timelines #12858045
 
  Deploy
manual test-docs #12858050
manual