aboutsummaryrefslogtreecommitdiff
path: root/package/mesa3d/Config.in
diff options
context:
space:
mode:
authorGravatar Michał Kalbarczyk <fazibear@gmail.com>2018-04-27 15:49:15 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-28 15:33:21 +0200
commit80f34339bd431e4fe252b89e8298651d60ee8eef (patch)
tree53ae2786c908c136fa0b71c1c4c8118d0c56e02b /package/mesa3d/Config.in
parent699ffff6be5ec079edf646638636d3969acd0617 (diff)
downloadbuildroot-80f34339bd431e4fe252b89e8298651d60ee8eef.tar.gz
buildroot-80f34339bd431e4fe252b89e8298651d60ee8eef.tar.bz2
package/mesa3d: add Radeon SI support
Signed-off-by: Michał Kalbarczyk <fazibear@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/mesa3d/Config.in')
-rw-r--r--package/mesa3d/Config.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index bd3d050e29..1984e4f11c 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -114,6 +114,26 @@ 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)
+config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
+ bool "Gallium Radeon SI driver"
+ depends on BR2_i386 || BR2_x86_64
+ depends on !BR2_PACKAGE_MESA3D_LLVM || \
+ (BR2_PACKAGE_MESA3D_LLVM && (BR2_TOOLCHAIN_USES_UCLIBC || \
+ BR2_TOOLCHAIN_USES_GLIBC)) # elfutils
+ select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
+ select BR2_PACKAGE_LIBDRM_AMDGPU
+ select BR2_PACKAGE_LLVM_AMDGPU if BR2_PACKAGE_MESA3D_LLVM
+ select BR2_PACKAGE_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM
+ select BR2_PACKAGE_MESA3D_NEEDS_XA
+ help
+ Driver for ATI/AMD Radeon HD7000/HD8000/Rx200 GPUs.
+
+# Radeon SI needs libelf when Mesa3D is built with LLVM support
+# musl is not currently compatible with elfutils
+comment "Radeon SI 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)
+
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
bool "Gallium vmware svga driver"
depends on BR2_i386 || BR2_x86_64