package/libdrm: amdgpu needs MMU
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 11 Mar 2019 22:26:30 +0000 (23:26 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 12 Mar 2019 21:20:05 +0000 (22:20 +0100)
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>
package/libdrm/Config.in
package/mesa3d/Config.in
package/x11r7/xdriver_xf86-video-amdgpu/Config.in

index 581f9219689aac6b9e79a5f15489466fe9dd8bb2..3cb0e02a41ca8c259691cb86645bea979d86e9b8 100644 (file)
@@ -36,6 +36,7 @@ config BR2_PACKAGE_LIBDRM_RADEON
 
 config BR2_PACKAGE_LIBDRM_AMDGPU
        bool "amdgpu"
+       depends on BR2_USE_MMU # fork()
        depends on BR2_PACKAGE_LIBDRM_HAS_ATOMIC
        select BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC
        help
index 5019f2683b6cea4989477b7c560352d80c1719b5..fdd64b03374e47697a47f153b142885bd2c6c975 100644 (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
        bool "Gallium Radeon SI driver"
+       depends on BR2_USE_MMU # libdrm
        depends on BR2_i386 || BR2_x86_64
        depends on BR2_PACKAGE_MESA3D_LLVM
        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
 # musl is not currently compatible with elfutils
 comment "Radeon SI driver needs a uClibc or glibc toolchain"
+       depends on BR2_USE_MMU
        depends on BR2_PACKAGE_MESA3D_LLVM
        depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
 
index 43090c7559bedca2763bde32001889f24989f13e..c42255f55ce68e4c270e39d27e67b594aaec97ae 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_XDRIVER_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_OPENGL_EGL # gbm
        select BR2_PACKAGE_LIBDRM
@@ -11,5 +12,6 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU
          AMD GPU video driver
 
 comment "xf86-video-amdgpu needs egl/opengl support from mesa3d"
+       depends on BR2_USE_MMU
        depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \
                !BR2_PACKAGE_MESA3D_DRI_DRIVER