Skip to contentSkip to conversation

package/libdrm: amdgpu needs MMU

PATCH New Fabrice Fontaine 3 participants 3 messages Mar 11, 2019 – Mar 25, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libdrm: amdgpu needs MMU

amdgpu test uses fork() so disable amdgpu without MMU

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

---
 package/libdrm/Config.in                          | 1 +
 package/mesa3d/Config.in                          | 2 ++
 package/x11r7/xdriver_xf86-video-amdgpu/Config.in | 2 ++
 3 files changed, 5 insertions(+)
package/libdrm/Config.in +1 -0
index 581f921968..3cb0e02a41 100644
@@ -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
package/mesa3d/Config.in +2 -0
index 5019f2683b..fdd64b0337 100644
@@ -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)
 
package/x11r7/xdriver_xf86-video-amdgpu/Config.in +2 -0
index 43090c7559..c42255f55c 100644
@@ -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
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 package/libdrm: amdgpu needs MMU

Quoted 11 lines · On Mon, 11 Mar 2019 23:26:30 +0100 Fabrice Fontaine…

amdgpu test uses fork() so disable amdgpu without MMU

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

---
 package/libdrm/Config.in                          | 1 +
 package/mesa3d/Config.in                          | 2 ++
 package/x11r7/xdriver_xf86-video-amdgpu/Config.in | 2 ++
 3 files changed, 5 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/libdrm: amdgpu needs MMU

In reply to Fabrice Fontaine
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

amdgpu test uses fork() so disable amdgpu without MMU
Fixes:
- http://autobuild.buildroot.org/results/8d6194982c1080e173fcef8212fb06e6dc275d58

Committed to 2019.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard