From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Wed, 26 Jun 2019 16:20:31 +0200 From: Roland Hieber Message-ID: <20190626142031.gno4v44gjr7puwyg@pengutronix.de> References: <20190626140812.21508-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190626140812.21508-1-p.zabel@pengutronix.de> Subject: Re: [ptxdist] [PATCH v2] mesalib: version bump 19.0.2 -> 19.1.1 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: Philipp Zabel Cc: ptxdist@pengutronix.de On Wed, Jun 26, 2019 at 04:08:12PM +0200, Philipp Zabel wrote: > Signed-off-by: Philipp Zabel > --- > 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 \ This is obviously wrong. I love half-baked turnips. (No srsly, what does it do? :D) - Roland > -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 > -- Roland Hieber | r.hieber@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de