meson: kmsro: require dri3 for X11

The current implementation in kmsro relies on buffer sharing using
WINSYS_HANDLE_TYPE_FD, which in x11 is only used by default when dri3
is enabled.
Since the current implementation will not work without it, we can
prevent user error by checking that it is not disabled at configuration
time.

Closes #4861

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <!11305>
148 jobs for !11305 with meson-kmsro-dri3 in 33 minutes and 21 seconds (queued for 8 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #10763000
sanity

00:00:08

 
  Container
passed #10763005
aarch64
arm_build

00:00:25

passed #10763007
windows shell 1809 mesa
windows_build_vs2019

00:00:11

passed #10763002
x86_build-base

00:00:25

passed #10763003
x86_test-base

00:00:20

 
  Container 2
passed #10763017
android_build

00:00:24

passed #10763012
i386_build

00:00:26

passed #10763022
kernel+rootfs_amd64

00:01:20

passed #10763023
aarch64
kernel+rootfs_arm64

00:01:14

passed #10763025
aarch64
kernel+rootfs_armhf

00:00:13

passed #10763013
ppc64el_build

00:00:26

passed #10763015
s390x_build

00:00:25

passed #10763010
x86_build

00:00:29

passed #10763018
x86_test-gl

00:00:21

passed #10763020
x86_test-vk

00:00:21

 
  Meson X86 64
passed #10763036
meson-clang

00:10:03

passed #10763037
meson-clover

00:02:19

passed #10763031
meson-clover-testing

00:01:20

passed #10763032
meson-gallium

00:04:30

passed #10763034
meson-release

00:03:24

passed #10763027
meson-testing

00:03:03

passed #10763029
meson-testing-asan

00:03:59

passed #10763039
meson-vulkan

00:02:56

 
  Build Misc
passed #10763041
arm_test

00:00:29

passed #10763043
meson-android

00:01:22

passed #10763046
aarch64
meson-arm64

00:01:27

passed #10763048
aarch64
meson-arm64-asan

00:03:41

passed #10763050
aarch64
meson-arm64-build-test

00:01:20

passed #10763044
aarch64
meson-armhf

00:01:38

passed #10763055
meson-i386

00:01:19

passed #10763060
meson-mingw32-x86_64

00:02:28

passed #10763058
meson-ppc64el

00:01:40

passed #10763056
kvm
meson-s390x

00:02:48

passed #10763052
windows docker 1809 mesa
meson-windows-vs2019

00:05:27

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

00:08:29

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

00:15:23

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

00:13:04

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

00:09:09

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

00:08:50

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

00:11:22

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

00:11:29

passed #10763068
radv-fossils

00:09:05

passed #10763062
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv_stoney_vkcts:amd64 1/3

00:18:11

passed #10763064
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv_stoney_vkcts:amd64 2/3

00:12:56

passed #10763066
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv_stoney_vkcts:amd64 3/3

00:11:59

 
  Intel
passed #10763091
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-egl

00:08:06

passed #10763089
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gl

00:07:12

passed #10763083
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gles2

00:10:31

passed #10763085
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gles3

00:09:09

passed #10763087
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gles31

00:11:04

passed #10763093
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-traces

00:07:37

 
  Arm
passed #10763113
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles31:arm64

00:11:05

passed #10763109
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles3:arm64 1/2

00:08:17

passed #10763111
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles3:arm64 2/2

00:09:01

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

00:10:00

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

00:06:07

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

00:03:29

passed #10763105
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles31:arm64

00:20:39

passed #10763101
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles3:arm64 1/2

00:08:45

passed #10763103
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles3:arm64 2/2

00:07:55

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

00:08:54

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

00:06:23

passed #10763139
igalia-rpi4
v3d-rpi4-gles2:armhf

00:06:41

passed #10763127
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2

00:09:24

passed #10763129
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2

00:09:41

passed #10763131
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4

00:09:01

passed #10763133
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4

00:09:21

passed #10763135
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4

00:07:39

passed #10763137
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4

00:08:15

passed #10763145
igalia-rpi4
v3d-rpi4-khr-gles2:armhf

00:01:31

passed #10763141
igalia-rpi4
v3d-rpi4-khr-gles31:armhf

00:02:40

passed #10763143
igalia-rpi4
v3d-rpi4-khr-gles3:armhf

00:03:33

passed #10763149
igalia-rpi4
v3d-rpi4-piglit:armhf 1/3

00:10:50

passed #10763151
igalia-rpi4
v3d-rpi4-piglit:armhf 2/3

00:10:24

passed #10763153
igalia-rpi4
v3d-rpi4-piglit:armhf 3/3

00:10:48

passed #10763155
igalia-rpi4
v3dv-rpi4-vk:arm64 1/6

00:06:42

passed #10763157
igalia-rpi4
v3dv-rpi4-vk:arm64 2/6

00:06:33

passed #10763159
igalia-rpi4
v3dv-rpi4-vk:arm64 3/6

00:06:28

passed #10763161
igalia-rpi4
v3dv-rpi4-vk:arm64 4/6

00:06:26

passed #10763163
igalia-rpi4
v3dv-rpi4-vk:arm64 5/6

00:06:37

passed #10763165
igalia-rpi4
v3dv-rpi4-vk:arm64 6/6

00:06:37

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

00:06:33

passed #10763115
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4

00:04:01

passed #10763117
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4

00:03:52

passed #10763119
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4

00:04:01

passed #10763121
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4

00:04:03

passed #10763123
igalia-rpi3
vc4-rpi3-khr-gles2:armhf

00:01:48

 
  Freedreno
passed #10763167
google-freedreno-db410c
a306_gles2

00:04:42

passed #10763169
google-freedreno-db410c
a306_gles3 1/3

00:09:04

passed #10763171
google-freedreno-db410c
a306_gles3 2/3

00:08:45

passed #10763173
google-freedreno-db410c
a306_gles3 3/3

00:08:41

passed #10763175
google-freedreno-db410c
a306_gles3_options

00:03:37

passed #10763177
google-freedreno-db410c
a306-traces

00:03:55

passed #10763179
google-freedreno-db820c
a530_gles2

00:07:02

passed #10763185
google-freedreno-db820c
a530_gles31 1/2

00:06:44

passed #10763181
google-freedreno-db820c
a530_gles3 1/2

00:08:59

passed #10763187
google-freedreno-db820c
a530_gles31 2/2

00:09:07

passed #10763183
google-freedreno-db820c
a530_gles3 2/2

00:08:20

passed #10763189
google-freedreno-db820c
a530_piglit_shader 1/2

00:09:24

passed #10763191
google-freedreno-db820c
a530_piglit_shader 2/2

00:09:29

passed #10763193
google-freedreno-db820c
a530-traces

00:07:54

passed #10763205
google-freedreno-cheza
a630_egl

00:03:36

passed #10763203
google-freedreno-cheza
a630_gl

00:02:45

passed #10763195
google-freedreno-cheza
a630_gles2

00:02:53

passed #10763200
google-freedreno-cheza
a630_gles3

00:06:18

passed #10763198
google-freedreno-cheza
a630_gles31

00:05:16

passed #10763208
google-freedreno-cheza
a630_gles_others

00:03:53

passed #10763218
google-freedreno-cheza
a630_piglit

00:08:43

passed #10763220
google-freedreno-cheza
a630-traces

00:04:21

passed #10763210
google-freedreno-cheza
a630_vk 1/2

00:09:59

passed #10763213
google-freedreno-cheza
a630_vk 2/2

00:09:58

passed #10763215
google-freedreno-cheza
a630_vk_sysmem

00:02:08

 
  Software Renderer
passed #10763267
lavapipe-nir-stress

00:01:36

passed #10763265
lavapipe-vk

00:06:48

passed #10763243
llvmpipe-egl

00:01:44

passed #10763239
llvmpipe-gl

00:02:57

passed #10763233
llvmpipe-gles2

00:02:52

passed #10763235
llvmpipe-gles3

00:04:40

passed #10763237
llvmpipe-gles31

00:09:05

passed #10763241
llvmpipe-khr-gles2

00:00:54

passed #10763223
llvmpipe-piglit-cl

00:03:18

passed #10763227
llvmpipe-piglit-glslparser

00:04:42

passed #10763225
llvmpipe-piglit-quick_gl

00:07:04

passed #10763229
llvmpipe-piglit-quick_shader

00:06:43

passed #10763231
llvmpipe-traces

00:01:56

passed #10763259
softpipe-asan-gles31

00:03:17

passed #10763263
softpipe-gl

00:01:38

passed #10763245
softpipe-gles2

00:00:52

passed #10763247
softpipe-gles3

00:06:45

passed #10763249
softpipe-gles31 1/2

00:05:08

passed #10763251
softpipe-gles31 2/2

00:03:01

passed #10763253
softpipe-khr-gles2

00:01:00

passed #10763255
softpipe-khr-gles3

00:01:36

passed #10763257
softpipe-khr-gles31

00:01:00

passed #10763261
softpipe-piglit-quick

00:04:16

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

00:03:22

passed #10763274
virgl-gl30-on-gl

00:00:26

passed #10763275
virgl-gl31-on-gl

00:00:56

passed #10763276
virgl-gl32-on-gl

00:01:08

passed #10763269
virgl-gles2-on-gl

00:01:28

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

00:05:05

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

00:02:58

passed #10763270
virgl-gles3-on-gl

00:02:20

passed #10763277
kvm
virgl-traces

00:06:08

passed #10763281
zink-lvp-gl

00:01:07

passed #10763279
zink-lvp-gles2

00:01:39

passed #10763280
zink-lvp-gles3

00:01:37

passed #10763278
zink-piglit-quick_gl

00:03:45