2014-04-17 18:04:16 +02:00
|
|
|
menuconfig BR2_PACKAGE_MESA3D
|
2014-06-08 16:15:09 +02:00
|
|
|
bool "mesa3d"
|
2016-01-04 01:11:45 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on !BR2_STATIC_LIBS
|
2016-03-19 10:20:54 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_1
|
2016-01-04 01:11:45 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
package/mesa3d: unconditionally needs expat
mesa3d should only need expat for a limited set of drivers. However,
the condition in their meson.build is borked:
required: not with_platform_android or with_any_broadcom or with_any_intel
So, as soon as the platform is not android, expat is required. If it
is not already present in the configuraiotn, then meson will try to be
helpful and will try to download its own copy under the table:
Run-time dependency expat found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency expat
Downloading expat source from https://github.com/libexpat/libexpat/releases/download/R_2_2_5/expat-2.2.5.tar.bz2
<urlopen error unknown url type: https>
A fallback URL could be specified using source_fallback_url key in the wrap file
../O/build/mesa3d-20.3.3/meson.build:1366:2: ERROR: could not get https://github.com/libexpat/libexpat/releases/download/R_2_2_5/expat-2.2.5.tar.bz2 is the internet available?
Ideally, we would like to fix the condition in the meson.build, to drop
the spurious and dubious condition on the android platform. However it
is not totally obvious what the prupose was, and expat compiles quikly,
so we just add expat as an unconditional mandatory dependency.
Fixes:
http://autobuild.buildroot.org/results/f71865771482b1d71d12e77767d236ca693785d5/
http://autobuild.buildroot.org/results/98290b9681a38b3be820017823a4a4196d474476/
....
Reported-by: Titouan Christophe <titouanchristophe@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
[yann.morin.1998@free.fr:
- make it a generic fix, not tied to freedreno, reported by Fabio
- rewrite commit log to explain the root cause
- also reported about virgl, by Titouan
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-01-16 17:09:48 +01:00
|
|
|
select BR2_PACKAGE_EXPAT
|
2009-03-23 13:50:05 +01:00
|
|
|
select BR2_PACKAGE_LIBDRM
|
2017-09-04 19:56:14 +02:00
|
|
|
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
|
2017-06-10 13:53:46 +02:00
|
|
|
select BR2_PACKAGE_ZLIB
|
2007-08-10 21:07:51 +02:00
|
|
|
help
|
2017-12-18 09:21:05 +01:00
|
|
|
Mesa 3D, an open-source implementation of the OpenGL
|
|
|
|
specification.
|
2014-03-29 21:56:06 +01:00
|
|
|
|
|
|
|
http://mesa3d.org
|
|
|
|
|
|
|
|
if BR2_PACKAGE_MESA3D
|
|
|
|
|
2018-04-28 19:28:03 +02:00
|
|
|
# Some Gallium driver needs libelf when built with LLVM support
|
|
|
|
config BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS
|
|
|
|
bool
|
|
|
|
|
2018-04-04 18:31:20 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_LLVM
|
|
|
|
bool "llvm support"
|
|
|
|
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
2018-04-06 11:00:13 +02:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
2018-04-09 11:46:06 +02:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2018-04-09 11:46:07 +02:00
|
|
|
depends on BR2_USE_WCHAR # std::wstring
|
2018-04-04 18:31:20 +02:00
|
|
|
select BR2_PACKAGE_LLVM
|
|
|
|
|
2019-10-26 16:53:24 +02:00
|
|
|
comment "llvm support needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, dynamic library"
|
2018-04-06 11:00:13 +02:00
|
|
|
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
2019-10-26 16:53:24 +02:00
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|
2018-04-09 11:46:07 +02:00
|
|
|
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
2018-04-06 11:00:13 +02:00
|
|
|
|
|
|
|
comment "llvm support needs a toolchain not affected by GCC bug 64735"
|
|
|
|
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
|
|
|
|
2018-10-21 00:14:33 +02:00
|
|
|
# clang and libclc dependencies are satisfied by
|
|
|
|
# BR2_PACKAGE_MESA3D_LLVM
|
|
|
|
config BR2_PACKAGE_MESA3D_OPENCL
|
|
|
|
bool "OpenCL support"
|
|
|
|
depends on BR2_PACKAGE_MESA3D_LLVM
|
|
|
|
depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 || \
|
|
|
|
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
|
2019-10-05 11:48:16 +02:00
|
|
|
select BR2_PACKAGE_LLVM_RTTI
|
2018-10-21 00:14:33 +02:00
|
|
|
select BR2_PACKAGE_CLANG
|
|
|
|
select BR2_PACKAGE_LIBCLC
|
|
|
|
select BR2_PACKAGE_HAS_LIBOPENCL
|
|
|
|
|
2016-07-17 18:27:55 +02:00
|
|
|
# inform the .mk file of gallium, dri or vulkan driver selection
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
bool
|
2017-04-22 19:17:59 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_DRIVER
|
2014-03-29 21:56:06 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER
|
2017-04-22 19:17:59 +02:00
|
|
|
bool
|
2014-03-29 21:56:06 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_DRIVER
|
2020-02-22 17:01:01 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_GBM if \
|
|
|
|
!BR2_PACKAGE_MESA3D_OPENGL_GLX && \
|
|
|
|
!BR2_PACKAGE_MESA3D_OPENGL_EGL && \
|
|
|
|
!BR2_PACKAGE_MESA3D_OSMESA_CLASSIC
|
2018-07-29 19:40:26 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
|
|
|
|
(BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4)
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2016-07-17 18:27:55 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_VULKAN_DRIVER
|
|
|
|
bool
|
|
|
|
select BR2_PACKAGE_MESA3D_DRIVER
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_DRIVER
|
|
|
|
bool
|
|
|
|
|
2019-09-20 18:38:42 +02:00
|
|
|
# Gallium xa state tracker.
|
|
|
|
# Quote from mesa3d meson.build: "XA state tracker requires at least
|
|
|
|
# one of the following gallium drivers: nouveau, freedreno, i915, svga.
|
2015-01-17 18:03:54 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_NEEDS_XA
|
|
|
|
bool
|
|
|
|
|
2019-04-08 11:58:38 +02:00
|
|
|
# Quote from mesa3d meson.build: "kmsro driver requires one or more
|
2019-09-21 20:10:48 +02:00
|
|
|
# renderonly drivers (vc4, etnaviv, freedreno)".
|
2019-04-08 11:58:38 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
|
|
|
bool
|
|
|
|
|
2019-11-04 19:16:09 +01:00
|
|
|
# OpenGL GLX and Gallium VDPAU both needs X11
|
|
|
|
config BR2_PACKAGE_MESA3D_NEEDS_X11
|
|
|
|
bool
|
|
|
|
depends on BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_LIBXCB
|
|
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXRANDR
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXXF86VM
|
|
|
|
select BR2_PACKAGE_XORGPROTO
|
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
comment "Gallium drivers"
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2017-02-15 01:13:52 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV
|
|
|
|
bool "Gallium Etnaviv driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_ETNAVIV
|
2019-09-21 20:10:49 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
2017-02-15 01:13:52 +01:00
|
|
|
help
|
|
|
|
Mesa driver for Vivante GPUs.
|
|
|
|
|
2019-09-21 20:10:53 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO
|
|
|
|
bool "Gallium freedreno driver"
|
2020-05-26 22:24:37 +02:00
|
|
|
depends on BR2_arm || BR2_aarch64 || BR2_aarch64_be # libdrm-freedreno
|
|
|
|
# libdrm's freedreno option depends on LIBDRM_HAS_ATOMIC. Propagating
|
|
|
|
# that dependency here causes a circular dependency that Kconfig
|
|
|
|
# can't see is just spurious. However, that dependency is about
|
|
|
|
# the toolchain having sync4 primitives, which is always a given
|
|
|
|
# for arm/aarch64.
|
2019-09-21 20:10:53 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
2020-04-09 14:35:15 +02:00
|
|
|
select BR2_PACKAGE_LIBDRM_FREEDRENO
|
2019-09-21 20:10:53 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
|
|
|
help
|
|
|
|
Mesa driver for Freedreno GPUs.
|
|
|
|
|
2020-02-08 08:42:50 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915
|
|
|
|
bool "Gallium i915 driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_INTEL
|
|
|
|
help
|
|
|
|
Support for i915-based Intel GPUs.
|
|
|
|
|
|
|
|
comment "Gallium i915: Only one i915 provider can be built"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
|
|
|
|
|
2020-01-28 01:42:53 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS
|
|
|
|
bool "Gallium iris driver"
|
2020-02-08 23:28:09 +01:00
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2020-01-28 01:42:53 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
help
|
|
|
|
Mesa driver for iris-based Intel GPUs.
|
|
|
|
|
2019-04-08 11:58:38 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO
|
|
|
|
bool "Gallium KMSRO driver"
|
|
|
|
depends on BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
|
|
|
help
|
|
|
|
Support various sorts of KMS displays with the
|
|
|
|
renderonly layer used to attach a GPU.
|
|
|
|
|
|
|
|
comment "Gallium KMSRO needs one or more renderonly drivers"
|
|
|
|
depends on !BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
|
|
|
|
2019-09-21 20:10:51 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA
|
|
|
|
bool "Gallium lima driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
|
|
|
help
|
|
|
|
Mesa driver for ARM Mali Utgard GPUs.
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
|
|
|
|
bool "Gallium nouveau driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_NOUVEAU
|
2015-01-17 18:03:54 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
2019-10-05 11:48:16 +02:00
|
|
|
select BR2_PACKAGE_LLVM_RTTI if BR2_PACKAGE_MESA3D_LLVM
|
2014-03-29 21:56:06 +01:00
|
|
|
help
|
|
|
|
Supports all Nvidia GPUs.
|
|
|
|
|
2019-09-21 20:10:52 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST
|
|
|
|
bool "Gallium panfrost driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
|
|
|
help
|
|
|
|
Mesa driver for ARM Mali Midgard and Bifrost GPUs.
|
|
|
|
|
2020-02-09 16:12:02 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300
|
|
|
|
bool "Gallium Radeon R300 driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2020-02-10 21:51:46 +01:00
|
|
|
# lbdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating
|
|
|
|
# that dependency here causes a circular dependency that Kconfig
|
|
|
|
# can't see is just spurious. However, that dependency is about
|
|
|
|
# the toolchain having sync4 primitives, which is always a given
|
|
|
|
# for x86.
|
2020-02-09 16:12:02 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_RADEON
|
|
|
|
help
|
|
|
|
Driver for ATI/AMD Radeon R300/R400/R500 GPUs.
|
|
|
|
|
2015-01-17 18:03:55 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
|
|
|
|
bool "Gallium Radeon R600 driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2018-04-11 14:57:01 +02:00
|
|
|
depends on !BR2_PACKAGE_MESA3D_LLVM || \
|
|
|
|
(BR2_PACKAGE_MESA3D_LLVM && (BR2_TOOLCHAIN_USES_UCLIBC || \
|
|
|
|
BR2_TOOLCHAIN_USES_GLIBC)) # elfutils
|
2015-01-17 18:03:55 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_RADEON
|
2018-04-04 18:31:20 +02:00
|
|
|
select BR2_PACKAGE_LLVM_AMDGPU if BR2_PACKAGE_MESA3D_LLVM
|
2018-04-11 14:57:01 +02:00
|
|
|
select BR2_PACKAGE_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM
|
2018-04-28 19:28:03 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM
|
2015-01-17 18:03:55 +01:00
|
|
|
help
|
|
|
|
Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs.
|
|
|
|
|
2018-04-11 14:57:01 +02:00
|
|
|
# R600 needs libelf when Mesa3D is built with LLVM support
|
|
|
|
# musl is not currently compatible with elfutils
|
|
|
|
comment "R600 driver needs a uClibc or glibc toolchain when llvm is enabled"
|
|
|
|
depends on BR2_PACKAGE_MESA3D_LLVM
|
|
|
|
depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|
|
|
|
|
2018-04-27 15:49:15 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
|
|
|
|
bool "Gallium Radeon SI driver"
|
2019-03-11 23:26:30 +01:00
|
|
|
depends on BR2_USE_MMU # libdrm
|
2018-04-27 15:49:15 +02:00
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2018-04-28 19:28:02 +02:00
|
|
|
depends on BR2_PACKAGE_MESA3D_LLVM
|
|
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
|
2018-04-27 15:49:15 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_AMDGPU
|
2018-04-28 19:28:01 +02:00
|
|
|
select BR2_PACKAGE_LIBDRM_RADEON
|
2018-04-28 19:28:02 +02:00
|
|
|
select BR2_PACKAGE_LLVM_AMDGPU
|
|
|
|
select BR2_PACKAGE_ELFUTILS
|
2018-04-28 19:28:03 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS
|
2018-04-27 15:49:15 +02:00
|
|
|
help
|
|
|
|
Driver for ATI/AMD Radeon HD7000/HD8000/Rx200 GPUs.
|
|
|
|
|
2018-04-28 19:28:02 +02:00
|
|
|
# Radeon SI needs libelf
|
2018-04-27 15:49:15 +02:00
|
|
|
# musl is not currently compatible with elfutils
|
2018-04-28 19:28:02 +02:00
|
|
|
comment "Radeon SI driver needs a uClibc or glibc toolchain"
|
2019-03-11 23:26:30 +01:00
|
|
|
depends on BR2_USE_MMU
|
2018-04-27 15:49:15 +02:00
|
|
|
depends on BR2_PACKAGE_MESA3D_LLVM
|
|
|
|
depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
|
|
|
|
bool "Gallium vmware svga driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_VMWGFX
|
2015-01-17 18:03:54 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
2014-03-29 21:56:06 +01:00
|
|
|
help
|
|
|
|
This is a virtual GPU driver for VMWare virtual machines.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
|
|
|
|
bool "Gallium swrast driver"
|
2019-09-20 18:38:40 +02:00
|
|
|
depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
|
2014-03-29 21:56:06 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
help
|
|
|
|
This is a software opengl implementation using the Gallium3D
|
|
|
|
infrastructure.
|
|
|
|
|
2019-09-20 18:38:40 +02:00
|
|
|
comment "Gallium swrast: Only one swrast provider can be built"
|
|
|
|
depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
|
|
|
|
|
2019-09-28 08:38:56 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA
|
|
|
|
bool "Gallium tegra driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
|
|
|
|
select BR2_PACKAGE_LIBDRM_NOUVEAU
|
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
|
|
|
help
|
|
|
|
Adds support for Nvidia Tegra GPUs, requires nouveau.
|
|
|
|
|
2020-02-04 15:44:11 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D
|
|
|
|
bool "Gallium v3d driver"
|
package/mesa3d: disable v3d support for arm if neon is not supported
The v3d driver for arm uses neon instructions unconditionally, so
depend on BR2_ARM_CPU_HAS_NEON.
Fixes:
http://autobuild.buildroot.net/results/66c4df4ee84b73160dde5fe4437b5abdbd2b50d2
[1050/1079] Compiling C object 'src/gallium/drivers/v3d/99241e4@@v3d_neon@sta/v3d_tiling.c.o'.
{standard input}: Assembler messages:
{standard input}:417: Error: selected processor does not support `vldm r6,{q0,q1,q2,q3}' in ARM mode
{standard input}:418: Error: selected processor does not support `vst1.8 d0,[r4],r5' in ARM mode
{standard input}:419: Error: selected processor does not support `vst1.8 d1,[r4],r5' in ARM mode
{standard input}:420: Error: selected processor does not support `vst1.8 d2,[r4],r5' in ARM mode
{standard input}:421: Error: selected processor does not support `vst1.8 d3,[r4],r5' in ARM mode
{standard input}:422: Error: selected processor does not support `vst1.8 d4,[r4],r5' in ARM mode
{standard input}:423: Error: selected processor does not support `vst1.8 d5,[r4],r5' in ARM mode
{standard input}:424: Error: selected processor does not support `vst1.8 d6,[r4],r5' in ARM mode
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-09 13:34:32 +01:00
|
|
|
depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64
|
2020-02-04 15:44:11 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
|
|
|
select BR2_PACKAGE_LIBDRM_VC4
|
|
|
|
select BR2_PACKAGE_MESA3D_OPENGL_EGL
|
|
|
|
help
|
|
|
|
Driver for Broadcom VC6 (rpi4) GPUs (needs kmsro and vc4).
|
|
|
|
|
|
|
|
It requires a kernel 4.18+ with DRM V3D support enabled:
|
|
|
|
|
|
|
|
- CONFIG_DRM_V3D
|
|
|
|
- CONFIG_DRM_VC4
|
|
|
|
|
2016-04-07 21:03:39 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
|
|
|
|
bool "Gallium vc4 driver"
|
2019-08-19 14:46:00 +02:00
|
|
|
depends on BR2_arm || BR2_aarch64
|
2016-04-07 21:03:39 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
2019-04-08 11:58:38 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
2016-04-07 21:03:39 +02:00
|
|
|
select BR2_PACKAGE_LIBDRM_VC4
|
2017-08-13 15:05:29 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_OPENGL_EGL
|
2016-04-07 21:03:39 +02:00
|
|
|
help
|
|
|
|
Driver for Broadcom VC4 (rpi2/3) GPUs.
|
|
|
|
It requires a vanilla 4.5+ kernel with drm vc4 (open) support.
|
|
|
|
|
2015-12-19 12:01:23 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL
|
|
|
|
bool "Gallium virgl driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
2015-12-20 19:31:05 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_OPENGL_EGL
|
2015-12-19 12:01:23 +01:00
|
|
|
help
|
|
|
|
virgl is the 3D acceleration backend for the virtio-gpu
|
|
|
|
shipping with qemu.
|
|
|
|
|
2019-09-30 08:01:34 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_VDPAU
|
|
|
|
bool "Gallium VDPAU state tracker"
|
|
|
|
depends on BR2_PACKAGE_XORG7
|
|
|
|
depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
|
2020-02-09 16:12:02 +01:00
|
|
|
|| BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 \
|
2019-09-30 08:01:34 +02:00
|
|
|
|| BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \
|
|
|
|
|| BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
|
2019-11-04 19:16:09 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_X11
|
2019-09-30 08:01:34 +02:00
|
|
|
select BR2_PACKAGE_LIBVDPAU
|
|
|
|
help
|
2020-02-09 16:12:02 +01:00
|
|
|
VDPAU state tracker (needs r300, r600, radeonsi or nouveau
|
|
|
|
gallium drivers).
|
2019-09-30 08:01:34 +02:00
|
|
|
|
2020-02-09 16:12:02 +01:00
|
|
|
comment "Gallium VDPAU state tracker needs X.org and gallium drivers r300, r600, radeonsi or nouveau"
|
2019-09-30 08:01:34 +02:00
|
|
|
depends on !BR2_PACKAGE_XORG7 || \
|
|
|
|
!(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
|
2020-02-09 16:12:02 +01:00
|
|
|
|| BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 \
|
2019-09-30 08:01:34 +02:00
|
|
|
|| BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \
|
|
|
|
|| BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI)
|
|
|
|
|
2019-09-21 20:10:47 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_XVMC
|
|
|
|
bool "Gallium XvMC state tracker"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
depends on BR2_PACKAGE_XORG7
|
|
|
|
depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
|
|
|
|
|| BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
|
2020-08-02 14:10:37 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_X11
|
2019-10-05 11:48:17 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXV
|
2019-09-21 20:10:47 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXVMC
|
|
|
|
help
|
|
|
|
XvMC state tracker (needs r600 or nouveau gallium drivers).
|
|
|
|
|
|
|
|
comment "Gallium XvMC state tracker needs X.org and gallium drivers r600 or nouveau"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
depends on !BR2_PACKAGE_XORG7 || \
|
|
|
|
!(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
|
|
|
|
|| BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600)
|
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
comment "DRI drivers"
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
|
|
|
|
bool "DRI swrast driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
help
|
|
|
|
This is a software opengl implementation using the DRI
|
|
|
|
infrastructure.
|
|
|
|
|
2014-08-31 01:49:19 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
|
|
|
|
bool "DRI i915 driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_INTEL
|
|
|
|
help
|
|
|
|
Support for i915-based Intel GPUs.
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
|
|
|
|
bool "DRI i965 driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2018-10-01 16:42:38 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h
|
2014-03-29 21:56:06 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_INTEL
|
|
|
|
help
|
2014-08-30 23:56:29 +02:00
|
|
|
Support for i965-based Intel GPUs.
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2018-10-01 16:42:38 +02:00
|
|
|
comment "DRI i965 driver needs a toolchain w/ headers >= 3.17"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
|
|
|
|
|
2015-12-19 12:01:24 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU
|
|
|
|
bool "DRI nouveau driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_NOUVEAU
|
|
|
|
help
|
|
|
|
Support for Nvidia-based GPUs.
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
|
2020-02-09 19:34:41 +01:00
|
|
|
bool "DRI radeon r100 driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2020-10-06 22:50:43 +02:00
|
|
|
# libdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating
|
|
|
|
# that dependency here causes a circular dependency that Kconfig
|
|
|
|
# can't see is just spurious. However, that dependency is about
|
|
|
|
# the toolchain having sync4 primitives, which is always a given
|
|
|
|
# for i386 and x86_64.
|
2014-03-29 21:56:06 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_RADEON
|
|
|
|
help
|
|
|
|
Legacy Radeon driver for R100 series GPUs.
|
|
|
|
|
2016-07-17 18:27:55 +02:00
|
|
|
comment "Vulkan drivers"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL
|
|
|
|
bool "Vulkan Intel driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2018-08-23 16:40:36 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libxshmfence
|
2018-10-03 10:34:26 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h
|
2016-07-17 18:27:55 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # ifunc, static_assert
|
2018-07-21 16:16:36 +02:00
|
|
|
depends on BR2_PACKAGE_XORG7 # xorgproto
|
2016-07-17 18:27:55 +02:00
|
|
|
select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
|
2018-07-21 16:16:36 +02:00
|
|
|
select BR2_PACKAGE_XORGPROTO
|
2018-08-23 16:40:36 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXSHMFENCE
|
2016-07-17 18:27:55 +02:00
|
|
|
help
|
|
|
|
Vulkan driver for Intel hardware from Ivy Bridge onward.
|
|
|
|
|
2018-10-03 10:34:26 +02:00
|
|
|
comment "intel vulkan depends on X.org and needs a glibc toolchain w/ headers >= 3.17"
|
2016-07-17 18:27:55 +02:00
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2018-08-23 16:40:36 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2018-10-03 10:34:26 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || \
|
2016-07-17 18:27:55 +02:00
|
|
|
!BR2_TOOLCHAIN_USES_GLIBC || !BR2_PACKAGE_XORG7
|
|
|
|
|
2015-10-03 19:21:55 +02:00
|
|
|
comment "Off-screen Rendering"
|
|
|
|
|
2019-09-20 18:38:38 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_OSMESA_CLASSIC
|
|
|
|
bool "OSMesa (classic) library"
|
2015-10-03 19:21:55 +02:00
|
|
|
help
|
2019-09-20 18:38:38 +02:00
|
|
|
The OSMesa classic API provides functions for
|
|
|
|
making off-screen renderings.
|
2015-10-03 19:21:55 +02:00
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
if BR2_PACKAGE_MESA3D_DRIVER
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2019-09-20 18:38:43 +02:00
|
|
|
comment "OpenGL API Support"
|
|
|
|
|
2020-02-02 18:33:32 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GBM
|
|
|
|
bool "gbm"
|
2020-02-19 20:10:13 +01:00
|
|
|
depends on BR2_PACKAGE_MESA3D_DRI_DRIVER \
|
|
|
|
|| (BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL)
|
2020-02-02 18:33:32 +01:00
|
|
|
help
|
|
|
|
Enable Generic Buffer Management (gbm)
|
|
|
|
|
2020-02-19 20:10:13 +01:00
|
|
|
comment "gbm support needs a dri driver or a gallium driver w/ EGL support."
|
|
|
|
depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER \
|
|
|
|
&& !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL)
|
|
|
|
|
2019-09-20 18:38:43 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_OPENGL_GLX
|
|
|
|
bool "OpenGL GLX"
|
|
|
|
depends on BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_HAS_LIBGL
|
2019-11-04 19:16:09 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_X11
|
2019-09-20 18:38:43 +02:00
|
|
|
help
|
|
|
|
Enable GLX graphic acceleration (OpenGL + X11).
|
|
|
|
|
|
|
|
comment "OpenGL GLX support needs X11"
|
|
|
|
depends on !BR2_PACKAGE_XORG7
|
2014-03-29 21:56:06 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_OPENGL_EGL
|
2014-04-17 18:04:18 +02:00
|
|
|
bool "OpenGL EGL"
|
2014-04-05 17:21:39 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
2016-08-23 18:26:33 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBEGL_WAYLAND
|
2020-02-02 18:33:32 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_GBM
|
2014-03-29 21:56:06 +01:00
|
|
|
help
|
2017-12-18 09:21:05 +01:00
|
|
|
Use the Khronos EGL APIs. EGL is a window manager for OpenGL
|
|
|
|
applications similar to GLX, for X, and WGL, for Windows.
|
2014-03-29 21:56:06 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_OPENGL_ES
|
|
|
|
bool "OpenGL ES"
|
2014-04-05 17:21:38 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
2014-03-29 21:56:06 +01:00
|
|
|
help
|
2017-12-18 09:21:05 +01:00
|
|
|
Use the Khronos OpenGL ES APIs. This is commonly used on
|
|
|
|
embedded systems and represents a subset of the OpenGL API.
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
endif # BR2_PACKAGE_MESA3D_DRIVER
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2016-07-17 18:27:54 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGL
|
2019-09-20 18:38:43 +02:00
|
|
|
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_GLX
|
2016-07-17 18:27:54 +02:00
|
|
|
|
2014-04-05 17:21:39 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
2014-03-30 01:02:48 +01:00
|
|
|
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2014-04-05 17:21:38 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
2014-03-30 01:02:48 +01:00
|
|
|
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2018-10-21 00:14:33 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBOPENCL
|
|
|
|
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENCL
|
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
endif # BR2_PACKAGE_MESA3D
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2015-08-09 22:09:00 +02:00
|
|
|
comment "mesa3d needs a toolchain w/ C++, NPTL, dynamic library"
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
|
|
BR2_STATIC_LIBS
|
2016-03-19 10:20:54 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_1
|