package/libdrm: amdgpu needs MMU

amdgpu test uses fork() so disable amdgpu without MMU

Fixes:
 - http://autobuild.buildroot.org/results/8d6194982c1080e173fcef8212fb06e6dc275d58

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 9972dc2e82)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2019-03-11 23:26:30 +01:00 committed by Peter Korsgaard
parent af99ecabd5
commit 8c16591d89
3 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,7 @@ config BR2_PACKAGE_LIBDRM_RADEON
config BR2_PACKAGE_LIBDRM_AMDGPU config BR2_PACKAGE_LIBDRM_AMDGPU
bool "amdgpu" bool "amdgpu"
depends on BR2_USE_MMU # fork()
depends on BR2_PACKAGE_LIBDRM_HAS_ATOMIC depends on BR2_PACKAGE_LIBDRM_HAS_ATOMIC
select BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC select BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC
help help

View File

@ -125,6 +125,7 @@ comment "R600 driver needs a uClibc or glibc toolchain when llvm is enabled"
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
bool "Gallium Radeon SI driver" bool "Gallium Radeon SI driver"
depends on BR2_USE_MMU # libdrm
depends on BR2_i386 || BR2_x86_64 depends on BR2_i386 || BR2_x86_64
depends on BR2_PACKAGE_MESA3D_LLVM depends on BR2_PACKAGE_MESA3D_LLVM
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
@ -141,6 +142,7 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
# Radeon SI needs libelf # Radeon SI needs libelf
# musl is not currently compatible with elfutils # musl is not currently compatible with elfutils
comment "Radeon SI driver needs a uClibc or glibc toolchain" comment "Radeon SI driver needs a uClibc or glibc toolchain"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_MESA3D_LLVM depends on BR2_PACKAGE_MESA3D_LLVM
depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU
bool "xf86-video-amdgpu" bool "xf86-video-amdgpu"
depends on BR2_USE_MMU # libdrm
depends on BR2_PACKAGE_MESA3D_DRI_DRIVER depends on BR2_PACKAGE_MESA3D_DRI_DRIVER
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm
select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM
@ -11,5 +12,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU
AMD GPU video driver AMD GPU video driver
comment "xf86-video-amdgpu needs egl/opengl support from mesa3d" comment "xf86-video-amdgpu needs egl/opengl support from mesa3d"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \ depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \
!BR2_PACKAGE_MESA3D_DRI_DRIVER !BR2_PACKAGE_MESA3D_DRI_DRIVER