From: Fabio Estevam <festevam@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 2/2] mesa3d: Add support for the Etnaviv gallium driver
Date: Tue, 14 Feb 2017 22:13:52 -0200 [thread overview]
Message-ID: <1487117632-32365-2-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1487117632-32365-1-git-send-email-festevam@gmail.com>
Add support for the Etnaviv gallium driver.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
---
Changes since v2:
- Improve the Kconfig text menu
- Pass '+= etnaviv imx' on a single line
- Remove the unneeded BR2_PACKAGE_MESA3D_NEEDS_XA option
package/mesa3d/Config.in | 9 +++++++++
package/mesa3d/mesa3d.mk | 3 +++
2 files changed, 12 insertions(+)
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index bbab953..2b085ab 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -45,6 +45,15 @@ config BR2_PACKAGE_MESA3D_NEEDS_XA
comment "Gallium drivers"
+config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV
+ bool "Gallium Etnaviv driver"
+ depends on BR2_arm
+ select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
+ select BR2_PACKAGE_LIBDRM_ETNAVIV
+ select BR2_PACKAGE_MESA3D_OPENGL_EGL
+ help
+ Mesa driver for Vivante 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 3bfb005..e174868 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -67,6 +67,7 @@ endif
# Drivers
#Gallium Drivers
+MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv imx
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
@@ -151,6 +152,8 @@ ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
MESA3D_EGL_PLATFORMS = drm
else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4),y)
MESA3D_EGL_PLATFORMS = drm
+else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV),y)
+MESA3D_EGL_PLATFORMS = drm
else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL),y)
MESA3D_EGL_PLATFORMS = drm
endif
--
2.7.4
next prev parent reply other threads:[~2017-02-15 0:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-15 0:13 [Buildroot] [PATCH v3 1/2] package/{mesa3d, mesa3d-headers}: bump version to 17.0.0 Fabio Estevam
2017-02-15 0:13 ` Fabio Estevam [this message]
2017-03-01 20:55 ` Fabio Estevam
2017-03-01 22:20 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1487117632-32365-2-git-send-email-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox