From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/2] mesa3d: Add support for Etnaviv gallium driver
Date: Tue, 14 Feb 2017 20:39:48 +0100 [thread overview]
Message-ID: <20170214203948.0aa43a76@gmx.net> (raw)
In-Reply-To: <1486999762-4118-2-git-send-email-festevam@gmail.com>
Hello Fabio,
On Mon, 13 Feb 2017 13:29:22 -0200, Fabio Estevam <festevam@gmail.com> wrote:
> Add support for Etnaviv gallium driver.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> Changes since v1:
> - Also select BR2_PACKAGE_MESA3D_OPENGL_EGL
>
> package/mesa3d/Config.in | 10 ++++++++++
> package/mesa3d/mesa3d.mk | 4 ++++
> 2 files changed, 14 insertions(+)
>
> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
> index bbab953..aba17fb 100644
> --- a/package/mesa3d/Config.in
> +++ b/package/mesa3d/Config.in
> @@ -45,6 +45,16 @@ config BR2_PACKAGE_MESA3D_NEEDS_XA
>
> comment "Gallium drivers"
>
> +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV
> + bool "Etnaviv driver"
I would prefer "Gallium Etnaviv driver" (as all the other gallium driver are named)...
> + depends on BR2_arm
> + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
> + select BR2_PACKAGE_LIBDRM_ETNAVIV
> + select BR2_PACKAGE_MESA3D_OPENGL_EGL
> + select BR2_PACKAGE_MESA3D_NEEDS_XA
Out of interest, for what is XA needed?
> + 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..eca1f53 100644
> --- a/package/mesa3d/mesa3d.mk
> +++ b/package/mesa3d/mesa3d.mk
> @@ -67,6 +67,8 @@ endif
> # Drivers
>
> #Gallium Drivers
> +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv
> +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += imx
Why not the one-liner '... += etnaviv imx'? Line length?
With the nits fixed you can add my
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Regards,
Peter
> 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 +153,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
next prev parent reply other threads:[~2017-02-14 19:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-13 15:29 [Buildroot] [PATCH 1/2 v2] package/{mesa3d, mesa3d-headers}: bump version to 17.0.0 Fabio Estevam
2017-02-13 15:29 ` [Buildroot] [PATCH v2 2/2] mesa3d: Add support for Etnaviv gallium driver Fabio Estevam
2017-02-14 13:29 ` Gary Bisson
2017-02-14 19:39 ` Peter Seiderer [this message]
2017-02-13 18:06 ` [Buildroot] [PATCH 1/2 v2] package/{mesa3d, mesa3d-headers}: bump version to 17.0.0 Bernd Kuhls
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=20170214203948.0aa43a76@gmx.net \
--to=ps.report@gmx.net \
--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