From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2] mesalib: version bump 19.0.2 -> 19.1.1
Date: Wed, 26 Jun 2019 16:08:12 +0200 [thread overview]
Message-ID: <20190626140812.21508-1-p.zabel@pengutronix.de> (raw)
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
Changes since v1:
- enable iris driver only on x86 architecture
---
rules/host-mesalib.make | 6 ++++++
rules/mesalib.in | 12 ++++++++++++
rules/mesalib.make | 15 +++++++++++++--
3 files changed, 31 insertions(+), 2 deletions(-)
diff --git a/rules/host-mesalib.make b/rules/host-mesalib.make
index 3be982635573..8ae8b0b5f5b0 100644
--- a/rules/host-mesalib.make
+++ b/rules/host-mesalib.make
@@ -20,6 +20,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_MESALIB) += host-mesalib
HOST_MESALIB_CONF_TOOL := meson
HOST_MESALIB_CONF_OPT := \
$(HOST_MESON_OPT) \
+ -DI-love-half-baked-turnips=false \
-Dasm=false \
-Dbuild-tests=false \
-Dd3d-drivers-path=/usr/lib/d3d \
@@ -28,6 +29,7 @@ HOST_MESALIB_CONF_OPT := \
-Ddri-search-path=/usr/lib/dri \
-Ddri3=false \
-Degl=false \
+ -Degl-lib-suffix= \
-Dgallium-drivers= \
-Dgallium-extra-hud=false \
-Dgallium-nine=false \
@@ -38,12 +40,14 @@ HOST_MESALIB_CONF_OPT := \
-Dgallium-xa=false \
-Dgallium-xvmc=false \
-Dgbm=false \
+ -Dgles-lib-suffix= \
-Dgles1=false \
-Dgles2=false \
-Dglvnd=false \
-Dglx=disabled \
-Dglx-direct=false \
-Dglx-read-only-text=false \
+ -Dinstall-intel-gpu-tests=false \
-Dlibunwind=false \
-Dllvm=false \
-Dlmsensors=false \
@@ -51,6 +55,7 @@ HOST_MESALIB_CONF_OPT := \
-Dopengl=true \
-Dosmesa=none \
-Dosmesa-bits=8 \
+ -Dplatform-sdk-version=25 \
-Dplatforms= \
-Dpower8=false \
-Dselinux=false \
@@ -64,6 +69,7 @@ HOST_MESALIB_CONF_OPT := \
-Dvdpau-libs-path=/usr/lib/vdpau \
-Dvulkan-drivers=[] \
-Dvulkan-icd-dir=/etc/vulkan/icd.d \
+ -Dvulkan-overlay-layer=false \
-Dxlib-lease=false \
-Dxvmc-libs-path=/usr/lib
diff --git a/rules/mesalib.in b/rules/mesalib.in
index 2518d4227df5..12e6f1d9edeb 100644
--- a/rules/mesalib.in
+++ b/rules/mesalib.in
@@ -109,6 +109,18 @@ config MESALIB_DRI_VC4
bool
prompt "vc4"
+config MESALIB_DRI_PANFROST
+ bool
+ prompt "panfrost"
+
+config MESALIB_DRI_IRIS
+ bool
+ prompt "iris"
+
+config MESALIB_DRI_LIMA
+ bool
+ prompt "lima"
+
comment "API Support"
config MESALIB_OPENGL
diff --git a/rules/mesalib.make b/rules/mesalib.make
index b53d124d7aa1..2e8d6b7e57c4 100644
--- a/rules/mesalib.make
+++ b/rules/mesalib.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_MESALIB) += mesalib
#
# Paths and names
#
-MESALIB_VERSION := 19.0.2
-MESALIB_MD5 := 7f84af1c3fe2078c35a7a991d1469921
+MESALIB_VERSION := 19.1.1
+MESALIB_MD5 := 07cd8cd79de28ec1a374ee3a06e47789
MESALIB := mesa-$(MESALIB_VERSION)
MESALIB_SUFFIX := tar.xz
MESALIB_URL := \
@@ -56,6 +56,11 @@ MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_V3D) += v3d
MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_VC4) += vc4
endif
MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_SWRAST) += swrast
+MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_PANFROST) += panfrost
+MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_LIMA) += lima
+ifdef PTXCONF_ARCH_X86
+MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_IRIS) += iris
+endif
MESALIB_DRI_LIBS-y = \
$(subst nouveau,nouveau_vieux,$(MESALIB_DRI_DRIVERS-y))
@@ -78,6 +83,7 @@ MESALIBS_EGL_PLATFORMS-$(PTXCONF_MESALIB_EGL_WAYLAND) += wayland
MESALIB_CONF_TOOL := meson
MESALIB_CONF_OPT := \
$(CROSS_MESON_USR) \
+ -DI-love-half-baked-turnips=false \
-Dasm=false \
-Dbuild-tests=false \
-Dd3d-drivers-path=/usr/lib/d3d \
@@ -86,6 +92,7 @@ MESALIB_CONF_OPT := \
-Ddri-search-path=/usr/lib/dri \
-Ddri3=false \
-Degl=$(call ptx/truefalse, PTXCONF_MESALIB_EGL) \
+ -Degl-lib-suffix= \
-Dgallium-drivers=$(subst $(space),$(comma),$(MESALIB_GALLIUM_DRIVERS-y)) \
-Dgallium-extra-hud=$(call ptx/truefalse, PTXCONF_MESALIB_EXTENDED_HUD) \
-Dgallium-nine=false \
@@ -96,12 +103,14 @@ MESALIB_CONF_OPT := \
-Dgallium-xa=false \
-Dgallium-xvmc=false \
-Dgbm=$(call ptx/truefalse, PTXCONF_MESALIB_GBM) \
+ -Dgles-lib-suffix= \
-Dgles1=$(call ptx/truefalse, PTXCONF_MESALIB_GLES1) \
-Dgles2=$(call ptx/truefalse, PTXCONF_MESALIB_GLES2) \
-Dglvnd=false \
-Dglx=$(call ptx/ifdef, PTXCONF_MESALIB_GLX, dri, disabled) \
-Dglx-direct=false \
-Dglx-read-only-text=false \
+ -Dinstall-intel-gpu-tests=false \
-Dlibunwind=false \
-Dllvm=false \
-Dlmsensors=$(call ptx/truefalse, PTXCONF_MESALIB_LMSENSORS) \
@@ -109,6 +118,7 @@ MESALIB_CONF_OPT := \
-Dopengl=$(call ptx/truefalse, PTXCONF_MESALIB_OPENGL) \
-Dosmesa=none \
-Dosmesa-bits=8 \
+ -Dplatform-sdk-version=25 \
-Dplatforms=$(subst $(space),$(comma),$(MESALIBS_EGL_PLATFORMS-y)) \
-Dpower8=false \
-Dselinux=false \
@@ -122,6 +132,7 @@ MESALIB_CONF_OPT := \
-Dvdpau-libs-path=/usr/lib/vdpau \
-Dvulkan-drivers=[] \
-Dvulkan-icd-dir=/etc/vulkan/icd.d \
+ -Dvulkan-overlay-layer=false \
-Dxlib-lease=false \
-Dxvmc-libs-path=/usr/lib
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2019-06-26 14:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-26 14:08 Philipp Zabel [this message]
2019-06-26 14:20 ` Roland Hieber
2019-06-26 14:52 ` Philipp Zabel
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=20190626140812.21508-1-p.zabel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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