Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 3/3] package/mesa3d: add support for Intel Vulkan driver
Date: Tue, 20 Sep 2016 20:03:20 +0200	[thread overview]
Message-ID: <20160920200320.0063036c@free-electrons.com> (raw)
In-Reply-To: <1468772875-5090-3-git-send-email-bernd.kuhls@t-online.de>

Hello,

On Sun, 17 Jul 2016 18:27:55 +0200, Bernd Kuhls wrote:
> The Vulkan intel driver depends on the i965 dri driver:
> https://cgit.freedesktop.org/mesa/mesa/tree/configure.ac?h=12.0#n1653
> 
> and a sha1 implementation:
> https://cgit.freedesktop.org/mesa/mesa/tree/configure.ac?h=12.0#n1656
> 
> The Vulkan driver needs linux/memfd.h
> https://cgit.freedesktop.org/mesa/mesa/tree/src/intel/vulkan/anv_allocator.c?h=12.0#n30
> which is not available in kernel headers older than 3.18:
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/include/uapi/linux/memfd.h?id=refs/tags/v3.18.36
> 
> The Vulkan driver makes use of ifunc
> https://cgit.freedesktop.org/mesa/mesa/tree/src/intel/vulkan/anv_entrypoints_gen.py?h=12.0#n287
> which is not available on uClibc:
> https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config.gcc;h=82cc9a9959b5ab57c0b8779e054b80cdb95f169b;hb=gcc-6-branch#l1485
> https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e6cdd6b1755033e8f416efaa4334d1294c0a43c6
> 
> The Vulkan driver makes use of static_assert
> https://cgit.freedesktop.org/mesa/mesa/tree/src/intel/vulkan/anv_private.h?h=12.0#n153
> 
> Compiling the Vulkan driver with uClibc and musl fails, therefore this
> driver is glibc-only.
> 
> Although the configure script does not check for dri3 support if the
> Intel Vulkan driver is enabled it needs it nonetheless:
> https://cgit.freedesktop.org/mesa/mesa/tree/src/intel/vulkan/anv_wsi_x11.c?h=12.0#n682
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v3: no changes
> v2: added dependency on BR2_PACKAGE_XORG7 (Thomas)
>     optionally select libsha1

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2016-09-20 18:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-17 16:27 [Buildroot] [PATCH v3 1/3] package/mesa3d: add optional support for libsha1 Bernd Kuhls
2016-07-17 16:27 ` [Buildroot] [PATCH v3 2/3] package/mesa3d: provides libgl not only with DRI drivers Bernd Kuhls
2016-09-20 18:03   ` Thomas Petazzoni
2016-07-17 16:27 ` [Buildroot] [PATCH v3 3/3] package/mesa3d: add support for Intel Vulkan driver Bernd Kuhls
2016-09-20 18:03   ` Thomas Petazzoni [this message]
2016-07-17 20:23 ` [Buildroot] [PATCH v3 1/3] package/mesa3d: add optional support for libsha1 Yann E. MORIN
2016-07-18 21:10 ` 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=20160920200320.0063036c@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.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