Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/12] package/mesa3d: add support for new virgl Gallium driver
Date: Sat, 19 Dec 2015 22:48:27 +0100	[thread overview]
Message-ID: <20151219214827.GD3394@free.fr> (raw)
In-Reply-To: <1450522892-14611-3-git-send-email-bernd.kuhls@t-online.de>

Bernd, Al,

On 2015-12-19 12:01 +0100, Bernd Kuhls spake thusly:
> http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?h=11.1&id=a8987b88ff1db4ac00720a9b56c4bc3aeb666537
> "virgl is the 3D acceleration backend for the virtio-gpu shipping with
>  qemu. The 3D acceleration is designed around gallium and TGSI as the
>  virtualisation layer. The backend renderer translates the virgl
>  interface into OpenGL currently."

This is causing some build failures, like:

    http://autobuild.buildroot.org/results/399/399cca80ada5798decc87bff69a3acc432e8f3d0/
    http://autobuild.buildroot.org/results/60f/60f63958b2310e00937c498ddf2a0295ff77683a/

with errors like:

    configure: error: --with-egl-platforms=drm is required to build the
    virgl driver.

Care to have a look, please?

Regards,
Yann E. MORIN.

> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/mesa3d/Config.in | 7 +++++++
>  package/mesa3d/mesa3d.mk | 1 +
>  2 files changed, 8 insertions(+)
> 
> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
> index fdeb599..8560794 100644
> --- a/package/mesa3d/Config.in
> +++ b/package/mesa3d/Config.in
> @@ -77,6 +77,13 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
>  	  This is a software opengl implementation using the Gallium3D
>  	  infrastructure.
>  
> +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL
> +	bool "Gallium virgl driver"
> +	select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
> +	help
> +	  virgl is the 3D acceleration backend for the virtio-gpu
> +	  shipping with qemu.
> +
>  comment "DRI drivers need X.Org"
>  	depends on !BR2_PACKAGE_XORG7
>  
> diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
> index 4c8a151..40e53cc 100644
> --- a/package/mesa3d/mesa3d.mk
> +++ b/package/mesa3d/mesa3d.mk
> @@ -65,6 +65,7 @@ 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
>  MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST)   += swrast
> +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL)    += virgl
>  # DRI Drivers
>  MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST) += swrast
>  MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I915)   += i915
> -- 
> 2.6.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-12-19 21:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-19 11:01 [Buildroot] [PATCH 01/12] package/apache: bump version to 2.4.18 Bernd Kuhls
2015-12-19 11:01 ` [Buildroot] [PATCH 02/12] package/{mesa3d, mesa3d-headers}: bump version to 11.1.0 Bernd Kuhls
2015-12-19 11:01 ` [Buildroot] [PATCH 03/12] package/mesa3d: add support for new virgl Gallium driver Bernd Kuhls
2015-12-19 21:48   ` Yann E. MORIN [this message]
2015-12-20 17:01     ` Bernd Kuhls
2015-12-19 11:01 ` [Buildroot] [PATCH 04/12] package/mesa3d: add support for Nouveau DRI driver Bernd Kuhls
2015-12-19 11:01 ` [Buildroot] [PATCH 05/12] package/libva: bump version to 1.6.2 Bernd Kuhls
2015-12-19 11:01 ` [Buildroot] [PATCH 06/12] package/libva-intel-driver: " Bernd Kuhls
2015-12-19 11:01 ` [Buildroot] [PATCH 07/12] package/nvidia-driver: bump version to 358.16 Bernd Kuhls
2015-12-19 11:01 ` [Buildroot] [PATCH 08/12] package/x11r7/xdriver_xf86-video-ati: bump version to 7.6.1 Bernd Kuhls
2015-12-19 13:14   ` Thomas Petazzoni
2015-12-19 11:01 ` [Buildroot] [PATCH 09/12] package/x11r7/xdriver_xf86-video-intel: bump version Bernd Kuhls
2015-12-19 11:01 ` [Buildroot] [PATCH 10/12] package/x11r7/xserver_xorg-server: bump version to 1.18.0 Bernd Kuhls
2015-12-19 13:17   ` Thomas Petazzoni
2015-12-19 14:12     ` Arnout Vandecappelle
2015-12-19 14:14       ` Thomas Petazzoni
2015-12-19 11:01 ` [Buildroot] [PATCH 11/12] package/libinput: bump version to 1.1.2 Bernd Kuhls
2015-12-19 11:01 ` [Buildroot] [PATCH 12/12] package/x11r7/xdriver_xf86-video-nouveau: new package Bernd Kuhls
2015-12-19 13:13 ` [Buildroot] [PATCH 01/12] package/apache: bump version to 2.4.18 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=20151219214827.GD3394@free.fr \
    --to=yann.morin.1998@free.fr \
    --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