Skip to contentSkip to conversation

package/mesa3d: Add Freedreno gallium driver

PATCH New Andre Renaud 2 participants 2 messages Apr 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mesa3d: Add Freedreno gallium driver

Added option to enable Freedreno gallium driver in mesa3d

---

package/mesa3d/Config.in +7 -0
index f141587c4d..3d99637cc3 100644
@@ -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
package/mesa3d/mesa3d.mk +0 -0
index 3f907c9463..ac2f0033cc 100644
@@ -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>

#1 lore raw

PATCH 1/1 package/mesa3d: Add Freedreno gallium driver

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.

Quoted 9 lines · Andre Renaud

Added option to enable Freedreno gallium driver in mesa3d

---

package/mesa3d/Config.in +0 -0
index f141587c4d..3d99637cc3 100644

package/mesa3d/Config.in config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV · line 71

Quoted 9 lines
package/mesa3d/Config.in +6 -0
@@ -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

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