gallium/u_threaded: implement INTEL_performance_query hooks

Fixes: 206495ca ("iris: Enable u_threaded_context")
Closes: #4528

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
107 jobs for !9922 with thrd-ctx-intel-perf-query in 30 minutes and 16 seconds (queued for 5 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #8426927
sanity

00:00:12

 
  Container
passed #8426930
aarch64 manual
arm_build

00:00:20

manual #8426931
manual
arm_test-base
manual #8426932
windows shell 1809 mesa manual
windows_build_vs2019
passed #8426928
manual
x86_build-base

00:00:13

passed #8426929
manual
x86_test-base

00:00:18

 
  Container 2
passed #8426940
android_build

00:00:26

created #8426943
arm64_test
created #8426944
armhf_test
passed #8426937
i386_build

00:00:17

passed #8426933
kernel+rootfs_amd64

00:00:19

passed #8426934
aarch64
kernel+rootfs_arm64

00:00:11

passed #8426935
aarch64
kernel+rootfs_armhf

00:00:11

passed #8426938
ppc64el_build

00:00:17

passed #8426939
s390x_build

00:00:17

passed #8426936
x86_build

00:00:17

passed #8426941
x86_test-gl

00:00:25

passed #8426942
x86_test-vk

00:00:22

 
  Meson X86 64
passed #8426950
meson-clang

00:03:49

passed #8426951
meson-clover

00:01:58

passed #8426947
meson-clover-testing

00:01:18

passed #8426948
meson-gallium

00:04:57

passed #8426949
meson-release

00:03:19

passed #8426945
meson-testing

00:01:36

passed #8426946
meson-testing-asan

00:02:10

passed #8426952
meson-vulkan

00:01:26

 
  Build Misc
passed #8426953
meson-android

00:01:11

passed #8426955
aarch64
meson-arm64

00:02:53

passed #8426956
aarch64
meson-arm64-asan

00:04:30

passed #8426957
aarch64
meson-arm64-build-test

00:01:52

passed #8426954
aarch64
meson-armhf

00:05:32

passed #8426959
meson-i386

00:01:23

passed #8426962
meson-mingw32-x86_64

00:01:41

passed #8426961
kvm
meson-ppc64el

00:01:48

passed #8426960
kvm
meson-s390x

00:04:04

created #8426958
docker windows 1809 mesa
meson-windows-vs2019
 
  Amd
passed #8426963
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64

00:09:18

passed #8426964
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64

00:10:51

 
  Arm
passed #8426970
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64

00:04:07

passed #8426971
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64

00:06:39

passed #8426965
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64

00:10:14

passed #8426966
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64

00:04:14

passed #8426967
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2

00:06:37

passed #8426968
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2

00:07:31

passed #8426969
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64

00:15:33

 
  Broadcom
created #8426982
igalia-rpi4
v3d-rpi4-gles2:armhf
created #8426976
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2
created #8426977
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2
created #8426978
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4
created #8426979
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4
created #8426980
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4
created #8426981
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4
created #8426972
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4
created #8426973
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4
created #8426974
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4
created #8426975
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4
 
  Freedreno
created #8426983
google-freedreno-db410c
a306_gles2
created #8426984
google-freedreno-db410c
a306_gles3 1/3
created #8426985
google-freedreno-db410c
a306_gles3 2/3
created #8426986
google-freedreno-db410c
a306_gles3 3/3
created #8426987
google-freedreno-db410c
a306_gles3_options
created #8426988
google-freedreno-db820c
a530_gles2
created #8426991
google-freedreno-db820c
a530_gles31 1/2
created #8426989
google-freedreno-db820c
a530_gles3 1/2
created #8426992
google-freedreno-db820c
a530_gles31 2/2
created #8426990
google-freedreno-db820c
a530_gles3 2/2
created #8426993
google-freedreno-db820c
a530_piglit_gl
created #8426994
google-freedreno-db820c
a530_piglit_shader
created #8426998
google-freedreno-cheza
a630_gl
created #8426995
google-freedreno-cheza
a630_gles2
created #8426997
google-freedreno-cheza
a630_gles3
created #8426996
google-freedreno-cheza
a630_gles31
created #8427000
google-freedreno-cheza
a630_gles_asan
created #8426999
google-freedreno-cheza
a630_gles_others
created #8427004
google-freedreno-cheza
a630_piglit_gl
created #8427005
google-freedreno-cheza
a630_piglit_shader
created #8427006
google-freedreno-cheza
a630-traces
created #8427001
google-freedreno-cheza
a630_vk 1/2
created #8427002
google-freedreno-cheza
a630_vk 2/2
created #8427003
google-freedreno-cheza
a630_vk_sysmem
 
  Software Renderer
passed #8427020
lavapipe-vk

00:05:42

passed #8427012
llvmpipe-gles2

00:01:06

passed #8427007
llvmpipe-piglit-cl

00:01:48

passed #8427009
llvmpipe-piglit-glslparser

00:02:56

passed #8427008
llvmpipe-piglit-quick_gl

00:07:48

passed #8427010
llvmpipe-piglit-quick_shader

00:07:28

passed #8427011
llvmpipe-traces

00:01:17

passed #8427017
softpipe-asan-gles31

00:02:06

passed #8427019
softpipe-gl

00:00:51

passed #8427013
softpipe-gles2

00:01:10

passed #8427014
softpipe-gles3

00:08:06

passed #8427015
softpipe-gles31 1/2

00:03:43

passed #8427016
softpipe-gles31 2/2

00:04:23

passed #8427018
softpipe-piglit-quick

00:10:17

 
  Layered Backends
created #8427033
docker windows 1809 mesa
test-d3d12-windows
passed #8427025
virgl-gl30-on-gl

00:00:24

passed #8427026
virgl-gl31-on-gl

00:00:56

passed #8427027
virgl-gl32-on-gl

00:01:12

passed #8427021
virgl-gles2-on-gl

00:01:59

passed #8427023
virgl-gles31-on-gl 1/2

00:03:37

passed #8427024
virgl-gles31-on-gl 2/2

00:02:35

passed #8427022
virgl-gles3-on-gl

00:05:41

passed #8427028
virgl-traces

00:00:33

passed #8427032
zink-lvp-gl

00:01:11

passed #8427030
zink-lvp-gles2

00:01:18

passed #8427031
zink-lvp-gles3

00:01:32

passed #8427029
zink-piglit-quick_gl

00:07:01