All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/mesa3d: Remove x86/x86_64 dependency for nouveau Gallium driver
@ 2019-09-28  6:38 Bernd Kuhls
  2019-09-28  6:38 ` [Buildroot] [PATCH 2/2] package/mesa3d: add support for gallium tegra driver Bernd Kuhls
  2019-09-28 19:58 ` [Buildroot] [PATCH 1/2] package/mesa3d: Remove x86/x86_64 dependency for nouveau Gallium driver Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2019-09-28  6:38 UTC (permalink / raw)
  To: buildroot

Nvidia chips are used on arm hardware as well like Jetson:
https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/

Suggested-by: Ross Green <grunpferd@netscape.net>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mesa3d/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 99b3818235..92caa05679 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -119,7 +119,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA
 
 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
 	bool "Gallium nouveau driver"
-	depends on BR2_i386 || BR2_x86_64
 	select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
 	select BR2_PACKAGE_LIBDRM_NOUVEAU
 	select BR2_PACKAGE_MESA3D_NEEDS_XA
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 2/2] package/mesa3d: add support for gallium tegra driver
  2019-09-28  6:38 [Buildroot] [PATCH 1/2] package/mesa3d: Remove x86/x86_64 dependency for nouveau Gallium driver Bernd Kuhls
@ 2019-09-28  6:38 ` Bernd Kuhls
  2019-09-28 19:58 ` [Buildroot] [PATCH 1/2] package/mesa3d: Remove x86/x86_64 dependency for nouveau Gallium driver Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2019-09-28  6:38 UTC (permalink / raw)
  To: buildroot

"tegra driver requires nouveau driver":
https://cgit.freedesktop.org/mesa/mesa/tree/meson.build?h=19.2#n251

Suggested-by: Ross Green <grunpferd@netscape.net>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mesa3d/Config.in | 9 +++++++++
 package/mesa3d/mesa3d.mk | 1 +
 2 files changed, 10 insertions(+)

diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 92caa05679..d9a705f991 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -194,6 +194,15 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
 comment "Gallium swrast: Only one swrast provider can be built"
 	depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
 
+config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA
+	bool "Gallium tegra driver"
+	select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
+	select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
+	select BR2_PACKAGE_LIBDRM_NOUVEAU
+	select BR2_PACKAGE_MESA3D_NEEDS_XA
+	help
+	  Adds support for Nvidia Tegra GPUs, requires nouveau.
+
 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
 	bool "Gallium vc4 driver"
 	depends on BR2_arm || BR2_aarch64
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 82781c9e10..b47c6b9b2e 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -93,6 +93,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600)     += r600
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) += radeonsi
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA)     += svga
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST)   += swrast
+MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA)    += tegra
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4)      += vc4
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL)    += virgl
 # DRI Drivers
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/2] package/mesa3d: Remove x86/x86_64 dependency for nouveau Gallium driver
  2019-09-28  6:38 [Buildroot] [PATCH 1/2] package/mesa3d: Remove x86/x86_64 dependency for nouveau Gallium driver Bernd Kuhls
  2019-09-28  6:38 ` [Buildroot] [PATCH 2/2] package/mesa3d: add support for gallium tegra driver Bernd Kuhls
@ 2019-09-28 19:58 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-09-28 19:58 UTC (permalink / raw)
  To: buildroot

On Sat, 28 Sep 2019 08:38:55 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Nvidia chips are used on arm hardware as well like Jetson:
> https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/
> 
> Suggested-by: Ross Green <grunpferd@netscape.net>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/mesa3d/Config.in | 1 -
>  1 file changed, 1 deletion(-)

Both 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

end of thread, other threads:[~2019-09-28 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-28  6:38 [Buildroot] [PATCH 1/2] package/mesa3d: Remove x86/x86_64 dependency for nouveau Gallium driver Bernd Kuhls
2019-09-28  6:38 ` [Buildroot] [PATCH 2/2] package/mesa3d: add support for gallium tegra driver Bernd Kuhls
2019-09-28 19:58 ` [Buildroot] [PATCH 1/2] package/mesa3d: Remove x86/x86_64 dependency for nouveau Gallium driver Thomas Petazzoni

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.