@@ -80,6 +80,7 @@ foreach d : [
['freedreno', true, ['arm', 'aarch64'].contains(host_machine.cpu_family())],
['tegra', true, true],
['vc4', false, ['arm', 'aarch64'].contains(host_machine.cpu_family())],
+ ['etnaviv', true, true],
]
driver = d[0]
require_atomics = d[1]
@@ -100,17 +101,6 @@ foreach d : [
endif
endforeach
-with_etnaviv = false
-_etnaviv = get_option('etnaviv')
-if _etnaviv == 'auto'
- with_etnaviv = with_atomics
-else
- with_etnaviv = _etnaviv == 'true'
-endif
-if with_etnaviv and not with_atomics
- error('libdrm_etnaviv requires atomics.')
-endif
-
# XXX: Aparently only freebsd and dragonfly bsd actually need this (and
# gnu/kfreebsd), not openbsd and netbsd
with_libkms = false
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> --- meson.build | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-)