* [Buildroot] [PATCH 1/1] package/libdrm: amdgpu needs MMU
@ 2019-03-11 22:26 Fabrice Fontaine
2019-03-12 21:21 ` Thomas Petazzoni
2019-03-25 19:16 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-03-11 22:26 UTC (permalink / raw)
To: buildroot
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>
---
package/libdrm/Config.in | 1 +
package/mesa3d/Config.in | 2 ++
package/x11r7/xdriver_xf86-video-amdgpu/Config.in | 2 ++
3 files changed, 5 insertions(+)
diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index 581f921968..3cb0e02a41 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -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
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 5019f2683b..fdd64b0337 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -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)
diff --git a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in
index 43090c7559..c42255f55c 100644
--- a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in
+++ b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in
@@ -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
--
2.14.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/libdrm: amdgpu needs MMU
2019-03-11 22:26 [Buildroot] [PATCH 1/1] package/libdrm: amdgpu needs MMU Fabrice Fontaine
@ 2019-03-12 21:21 ` Thomas Petazzoni
2019-03-25 19:16 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-03-12 21:21 UTC (permalink / raw)
To: buildroot
On Mon, 11 Mar 2019 23:26:30 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> 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>
> ---
> 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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/libdrm: amdgpu needs MMU
2019-03-11 22:26 [Buildroot] [PATCH 1/1] package/libdrm: amdgpu needs MMU Fabrice Fontaine
2019-03-12 21:21 ` Thomas Petazzoni
@ 2019-03-25 19:16 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-03-25 19:16 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> 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>
Committed to 2019.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-25 19:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-11 22:26 [Buildroot] [PATCH 1/1] package/libdrm: amdgpu needs MMU Fabrice Fontaine
2019-03-12 21:21 ` Thomas Petazzoni
2019-03-25 19:16 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.