gallium/u_threaded: Split out options struct

Rather than having an ever increasing list of parameters to
threaded_context_create(), split out a struct for optional
flags and parameters.  This should reduce churn in adding
new options.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <!13207>
132 jobs for !13207 with tc/options in 26 minutes and 28 seconds (queued for 16 seconds)
latest detached
Status Name Job ID Coverage
  Sanity
passed sanity #14488114

00:00:16

 
  Container
passed debian/android_build #14488124

00:00:15

passed debian/arm_build #14488130
aarch64

00:00:15

passed debian/arm_test #14488140

00:00:23

passed debian/i386_build #14488119

00:00:15

passed debian/ppc64el_build #14488121

00:00:14

passed debian/s390x_build #14488122

00:00:15

passed debian/x86_build #14488118

00:00:15

passed debian/x86_build-base #14488116

00:00:12

passed debian/x86_test-base #14488126

00:00:12

passed debian/x86_test-gl #14488127

00:00:10

passed debian/x86_test-vk #14488129

00:00:12

passed fedora/x86_build #14488132

00:00:12

passed kernel+rootfs_amd64 #14488134

00:00:19

passed kernel+rootfs_arm64 #14488136
aarch64

00:00:10

passed kernel+rootfs_armhf #14488138
aarch64

00:00:11

passed windows_build_vs2019 #14488141
windows shell 1809 mesa

00:00:10

 
  Build X86 64
passed debian-clang #14488153

00:11:02

passed debian-clover #14488155

00:03:22

passed debian-clover-testing #14488147

00:01:41

passed debian-gallium #14488149

00:06:40

passed debian-release #14488150

00:04:59

passed debian-testing #14488144

00:01:57

passed debian-testing-asan #14488145

00:03:24

passed debian-vulkan #14488157

00:03:41

passed fedora-release #14488152

00:07:41

 
  Build Misc
passed debian-android #14488159

00:01:58

passed debian-arm64 #14488162
aarch64

00:02:21

passed debian-arm64-asan #14488164
aarch64

00:05:00

passed debian-arm64-build-test #14488166
aarch64

00:01:20

passed debian-armhf #14488160
aarch64

00:01:16

passed debian-i386 #14488171

00:03:41

passed debian-mingw32-x86_64 #14488176

00:02:29

passed debian-ppc64el #14488175

00:03:20

passed debian-s390x #14488173
kvm

00:06:14

passed windows-vs2019 #14488168
windows docker 1809 mesa

00:04:48

 
  Amd
passed radeonsi-stoney-gles2:amd64 #14488178
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:06:05

passed radeonsi-stoney-gles31:amd64 1/2 #14488184
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:11:43

passed radeonsi-stoney-gles31:amd64 2/2 #14488186
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:10:42

passed radeonsi-stoney-gles3:amd64 1/2 #14488180
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:08:37

passed radeonsi-stoney-gles3:amd64 2/2 #14488182
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:07:33

passed radeonsi-stoney-piglit-gl:amd64 #14488189
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:08:03

passed radeonsi-stoney-traces:amd64 #14488187
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:04:55

 
  Intel
passed iris-amly-traces-performance #14488206
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual

00:04:25

passed iris-apl-deqp 1/3 #14488192
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:08:52

passed iris-apl-deqp 2/3 #14488194
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:08:50

passed iris-apl-deqp 3/3 #14488196
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:08:51

passed iris-apl-egl #14488198
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:05:18

passed iris-apl-traces #14488200
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:03:47

passed iris-apl-traces-performance #14488202
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral manual

00:05:52

passed iris-cml-traces-performance #14488212
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual

00:04:13

passed iris-glk-traces-performance #14488204
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual

00:06:43

passed iris-kbl-traces-performance #14488208
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual

00:04:13

passed iris-whl-traces-performance #14488210
mesa-ci-x86-64-lava-dell-latitude-5400-4305U-sarien manual

00:05:24

 
  Arm
passed lima-mali450-test:arm64 #14488214
mesa-ci-x86-64-lava-lima

00:06:56

passed panfrost-g52-gl:arm64 1/3 #14488229
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3

00:10:46

passed panfrost-g52-gl:arm64 2/3 #14488231
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3

00:10:20

passed panfrost-g52-gl:arm64 3/3 #14488233
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3

00:10:51

passed panfrost-g52-vk:arm64 #14488235
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3

00:05:36

passed panfrost-g72-gl:arm64 1/3 #14488237
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16

00:08:29

passed panfrost-g72-gl:arm64 2/3 #14488239
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16

00:09:09

passed panfrost-g72-gl:arm64 3/3 #14488241
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16

00:08:23

passed panfrost-t720-gles2:arm64 #14488216
mesa-ci-x86-64-lava-sun50i-h6-pine-h64

00:12:24

passed panfrost-t760-gles2:armhf #14488218
mesa-ci-x86-64-lava-rk3288-veyron-jaq

00:08:52

passed panfrost-t760-traces:armhf #14488219
mesa-ci-x86-64-lava-rk3288-veyron-jaq

00:04:27

passed panfrost-t860-gl:arm64 1/3 #14488221
mesa-ci-x86-64-lava-rk3399-gru-kevin

00:06:55

passed panfrost-t860-gl:arm64 2/3 #14488223
mesa-ci-x86-64-lava-rk3399-gru-kevin

00:06:38

passed panfrost-t860-gl:arm64 3/3 #14488225
mesa-ci-x86-64-lava-rk3399-gru-kevin

00:10:19

passed panfrost-t860-traces:arm64 #14488227
mesa-ci-x86-64-lava-rk3399-gru-kevin

00:04:38

 
  Broadcom
passed v3d-rpi4-egl:armhf #14488266
igalia-rpi4

00:08:35

passed v3d-rpi4-gles:armhf 1/8 #14488250
igalia-rpi4

00:13:07

passed v3d-rpi4-gles:armhf 2/8 #14488252
igalia-rpi4

00:12:22

passed v3d-rpi4-gles:armhf 3/8 #14488254
igalia-rpi4

00:11:30

passed v3d-rpi4-gles:armhf 4/8 #14488256
igalia-rpi4

00:10:11

passed v3d-rpi4-gles:armhf 5/8 #14488258
igalia-rpi4

00:10:36

passed v3d-rpi4-gles:armhf 6/8 #14488260
igalia-rpi4

00:11:16

passed v3d-rpi4-gles:armhf 7/8 #14488262
igalia-rpi4

00:10:25

passed v3d-rpi4-gles:armhf 8/8 #14488264
igalia-rpi4

00:11:21

passed v3d-rpi4-piglit:armhf 1/4 #14488268
igalia-rpi4

00:11:58

passed v3d-rpi4-piglit:armhf 2/4 #14488270
igalia-rpi4

00:09:38

passed v3d-rpi4-piglit:armhf 3/4 #14488272
igalia-rpi4

00:11:47

passed v3d-rpi4-piglit:armhf 4/4 #14488274
igalia-rpi4

00:09:35

passed vc4-rpi3-egl:armhf #14488248
igalia-rpi3

00:08:30

passed vc4-rpi3-gles:armhf 1/2 #14488244
igalia-rpi3

00:10:01

passed vc4-rpi3-gles:armhf 2/2 #14488246
igalia-rpi3

00:11:10

 
  Freedreno
passed a306_gl 1/5 #14488276
google-freedreno-db410c

00:09:07

passed a306_gl 2/5 #14488278
google-freedreno-db410c

00:09:33

passed a306_gl 3/5 #14488280
google-freedreno-db410c

00:09:16

passed a306_gl 4/5 #14488282
google-freedreno-db410c

00:08:49

passed a306_gl 5/5 #14488284
google-freedreno-db410c

00:08:46

passed a306-traces #14488285
google-freedreno-db410c

00:02:29

passed a630_egl #14488295
google-freedreno-cheza

00:02:11

passed a630_gl 1/4 #14488287
google-freedreno-cheza

00:06:42

passed a630_gl 2/4 #14488289
google-freedreno-cheza

00:07:30

passed a630_gl 3/4 #14488291
google-freedreno-cheza

00:06:11

passed a630_gl 4/4 #14488293
google-freedreno-cheza

00:06:34

passed a630_piglit #14488303
google-freedreno-cheza

00:08:40

passed a630-traces #14488305
google-freedreno-cheza

00:04:43

passed a630-traces-performance #14488309
google-freedreno-cheza manual

00:05:10

passed a630-traces-restricted #14488307
google-freedreno-cheza

00:03:13

passed a630_vk 1/3 #14488297
google-freedreno-cheza

00:08:46

passed a630_vk 2/3 #14488299
google-freedreno-cheza

00:10:15

passed a630_vk 3/3 #14488301
google-freedreno-cheza

00:10:03

 
  Software Renderer
passed lavapipe-nir-stress #14488335

00:02:02

passed lavapipe-vk #14488333

00:11:00

passed lavapipe-vk-asan #14488336

00:05:23

passed llvmpipe-deqp 1/2 #14488320

00:03:55

passed llvmpipe-deqp 2/2 #14488321

00:12:13

passed llvmpipe-deqp-asan #14488323

00:01:36

passed llvmpipe-egl #14488325

00:01:04

passed llvmpipe-piglit-cl #14488312

00:04:01

passed llvmpipe-piglit-glslparser #14488315

00:05:22

passed llvmpipe-piglit-quick_gl #14488313

00:08:09

passed llvmpipe-piglit-quick_shader #14488316

00:04:58

passed llvmpipe-traces #14488318

00:02:13

passed softpipe-asan-gles31 #14488330

00:04:49

passed softpipe-deqp 1/2 #14488326

00:09:57

passed softpipe-deqp 2/2 #14488328

00:12:58

passed softpipe-piglit-quick #14488331

00:10:40

 
  Layered Backends
passed test-d3d12-windows #14488363
windows docker 1809 mesa

00:03:38

passed virgl-on-gl 1/6 #14488338
kvm

00:15:04

passed virgl-on-gl 2/6 #14488340
kvm

00:15:18

passed virgl-on-gl 3/6 #14488342
kvm

00:14:45

passed virgl-on-gl 4/6 #14488344
kvm

00:14:40

passed virgl-on-gl 5/6 #14488346
kvm

00:16:19

passed virgl-on-gl 6/6 #14488348
kvm

00:15:14

passed virgl-traces #14488351
kvm

00:06:10

passed zink-lvp-deqp 1/2 #14488359

00:02:27

passed zink-lvp-deqp 2/2 #14488361

00:02:58

passed zink-piglit-lazy #14488357

00:03:54

passed zink-piglit-no_timelines #14488355

00:04:03

passed zink-piglit-timelines #14488353

00:04:42