Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/mesa3d: Add Freedreno gallium driver
@ 2018-04-11  4:41 Andre Renaud
  2018-04-11  7:08 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Renaud @ 2018-04-11  4:41 UTC (permalink / raw)
  To: buildroot

Added option to enable Freedreno gallium driver in mesa3d

Signed-off-by: Andre Renaud <andre@ignavus.net>
---
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index f141587c4d..3d99637cc3 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -63,6 +63,13 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV
        help
          Mesa driver for Vivante GPUs.

+config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO
+       bool "Gallium freedreno driver"
+       select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
+       select BR2_PACKAGE_LIBDRM_FREEDRENO
+       help
+         Mesa driver for Freedreno GPUs.
+
 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
        bool "Gallium nouveau driver"
        depends on BR2_i386 || BR2_x86_64
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 3f907c9463..ac2f0033cc 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -67,6 +67,7 @@ endif

 #Gallium Drivers
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV)  +=
etnaviv imx
+MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO)  +=
freedreno
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU)  +=
nouveau
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600)     +=
r600
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA)     +=
svga
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180411/f7756217/attachment.html>

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

* [Buildroot] [PATCH] package/mesa3d: Add Freedreno gallium driver
  2018-04-11  4:41 [Buildroot] [PATCH] package/mesa3d: Add Freedreno gallium driver Andre Renaud
@ 2018-04-11  7:08 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-04-11  7:08 UTC (permalink / raw)
  To: buildroot

Hello Andre,

Thanks for your contribution. Could you resend your patch with git
send-email ? You sent it with your e-mail client, and therefore it has
been line-wrapped, which makes it unapplicable.

On Wed, 11 Apr 2018 04:41:27 +0000, Andre Renaud wrote:
> Added option to enable Freedreno gallium driver in mesa3d
> 
> Signed-off-by: Andre Renaud <andre@ignavus.net>
> ---
> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
> index f141587c4d..3d99637cc3 100644
> --- a/package/mesa3d/Config.in
> +++ b/package/mesa3d/Config.in
> @@ -63,6 +63,13 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV
>         help
>           Mesa driver for Vivante GPUs.
> 
> +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO
> +       bool "Gallium freedreno driver"
> +       select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
> +       select BR2_PACKAGE_LIBDRM_FREEDRENO
> +       help
> +         Mesa driver for Freedreno GPUs.

Please use tabs for indentation of bool/select/help, and one tab + 2
spaces for the help text. You can run ./utils/check-package on the
files you are changing to do some minimal validation of the coding
style.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2018-04-11  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-11  4:41 [Buildroot] [PATCH] package/mesa3d: Add Freedreno gallium driver Andre Renaud
2018-04-11  7:08 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox