From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 12 Sep 2024 14:14:50 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1soiip-003mqZ-1L for lore@lore.pengutronix.de; Thu, 12 Sep 2024 14:14:50 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1soiio-0005hy-Ee; Thu, 12 Sep 2024 14:14:50 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1soifq-0001eR-Or; Thu, 12 Sep 2024 14:11:46 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1soifq-007NR4-C0; Thu, 12 Sep 2024 14:11:46 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1soifq-00BGkE-14; Thu, 12 Sep 2024 14:11:46 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 12 Sep 2024 14:11:46 +0200 Message-Id: <20240912121146.2685967-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240815115615.2745801-1-p.zabel@pengutronix.de> References: <20240815115615.2745801-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] mesalib: version bump 24.1.4 -> 24.2.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Philipp Zabel Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 219464d3b823eacd09b76bc4eafd0a0fc0118020. Michael [sent from post-receive hook] On Thu, 12 Sep 2024 14:11:46 +0200, Philipp Zabel wrote: > https://docs.mesa3d.org/relnotes/24.2.0.html > > The swrast Gallium driver option was split into softpipe and llvmpipe > in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27607. > > Signed-off-by: Philipp Zabel > Message-Id: <20240815115615.2745801-1-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/host-mesalib.make b/rules/host-mesalib.make > index e343438612c9..ac72ebeac16d 100644 > --- a/rules/host-mesalib.make > +++ b/rules/host-mesalib.make > @@ -19,6 +19,7 @@ HOST_MESALIB_CONF_TOOL := meson > HOST_MESALIB_CONF_OPT := \ > $(HOST_MESON_OPT) \ > -Dallow-kcmp=enabled \ > + -Damd-use-llvm=false \ > -Dandroid-libbacktrace=disabled \ > -Dandroid-strict=true \ > -Dandroid-stub=false \ > @@ -42,7 +43,7 @@ HOST_MESALIB_CONF_OPT := \ > -Dgallium-d3d10umd=false \ > -Dgallium-d3d12-graphics=disabled \ > -Dgallium-d3d12-video=disabled \ > - -Dgallium-drivers=swrast \ > + -Dgallium-drivers=softpipe \ > -Dgallium-extra-hud=false \ > -Dgallium-nine=false \ > -Dgallium-omx=disabled \ > @@ -63,6 +64,8 @@ HOST_MESALIB_CONF_OPT := \ > -Dglx-direct=false \ > -Dglx-read-only-text=false \ > -Dgpuvis=false \ > + -Dhtml-docs=disabled \ > + -Dhtml-docs-path= \ > -Dimagination-srv=false \ > -Dinstall-intel-clc=$(call ptx/truefalse, PTXCONF_HOST_MESALIB_INTEL_CLC) \ > -Dinstall-intel-gpu-tests=false \ > @@ -70,6 +73,7 @@ HOST_MESALIB_CONF_OPT := \ > -Dintel-rt=disabled \ > -Dlibunwind=disabled \ > -Dllvm=$(call ptx/endis, PTXCONF_HOST_MESALIB_INTEL_CLC)d \ > + -Dllvm-orcjit=false \ > -Dlmsensors=disabled \ > -Dmicrosoft-clc=disabled \ > -Dmin-windows-version=8 \ > @@ -90,10 +94,12 @@ HOST_MESALIB_CONF_OPT := \ > -Dshared-glapi=enabled \ > -Dshared-llvm=disabled \ > -Dspirv-to-dxil=false \ > + -Dsplit-debug=disabled \ > -Dsse2=true \ > -Dstatic-libclc=[] \ > -Dteflon=false \ > -Dtools=glsl \ > + -Dunversion-libgallium=false \ > -Dva-libs-path=/usr/lib/dri \ > -Dvalgrind=disabled \ > -Dvdpau-libs-path=/usr/lib/vdpau \ > diff --git a/rules/mesalib.in b/rules/mesalib.in > index dfab3381a1ec..853d2879e616 100644 > --- a/rules/mesalib.in > +++ b/rules/mesalib.in > @@ -59,10 +59,14 @@ config MESALIB_LLVM > > comment "Drivers" > > -config MESALIB_DRI_SWRAST > +config MESALIB_DRI_SOFTPIPE > + bool > + prompt "Software Rasterizer (softpipe)" > + > +config MESALIB_DRI_LLVMPIPE > bool > select MESALIB_LLVM > - prompt "Software Rasterizer" > + prompt "Software Rasterizer (llvmpipe)" > > config MESALIB_DRI_R300 > bool > @@ -280,7 +284,7 @@ config MESALIB_VULKAN_PANFROST > > config MESALIB_VULKAN_SWRAST > bool > - select MESALIB_DRI_SWRAST > + select MESALIB_DRI_LLVMPIPE > prompt "Software Rasterizer" > > config MESALIB_VULKAN_VIRTIO > diff --git a/rules/mesalib.make b/rules/mesalib.make > index ddbb123a9ad9..c62a0802f0a0 100644 > --- a/rules/mesalib.make > +++ b/rules/mesalib.make > @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_MESALIB) += mesalib > # > # Paths and names > # > -MESALIB_VERSION := 24.1.4 > -MESALIB_MD5 := 04c50eb31359884fba2172bfa181abee > +MESALIB_VERSION := 24.2.0 > +MESALIB_MD5 := 6c2108ec2a6ba4d9d1192a12256b0d3c > MESALIB := mesa-$(MESALIB_VERSION) > MESALIB_SUFFIX := tar.xz > MESALIB_URL := \ > @@ -45,7 +45,8 @@ ifdef PTXCONF_ARCH_ARM_NEON > 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_SOFTPIPE) += softpipe > +MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_LLVMPIPE) += llvmpipe > MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_PANFROST) += panfrost > MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_LIMA) += lima > ifdef PTXCONF_ARCH_X86 > @@ -85,12 +86,13 @@ MESALIB_DRI_GALLIUM_LIBS-y = \ > st7735r \ > stm \ > sun4i-drm) \ > - $(subst swrast,swrast kms_swrast \ > + $(patsubst %pipe,swrast kms_swrast \ > + ,$(subst softpipe llvmpipe,softpipe \ > ,$(subst freedreno,kgsl msm \ > ,$(subst svga,vmwgfx \ > ,$(subst virgl,virtio_gpu \ > ,$(MESALIB_GALLIUM_DRIVERS-y) \ > - )))) > + ))))) > > MESALIB_VIDEO_CODECS-$(PTXCONF_MESALIB_VIDEO_VC1DEC) += vc1dec > MESALIB_VIDEO_CODECS-$(PTXCONF_MESALIB_VIDEO_H264DEC) += h264dec > @@ -147,6 +149,7 @@ MESALIB_CONF_TOOL := meson > MESALIB_CONF_OPT := \ > $(CROSS_MESON_USR) \ > -Dallow-kcmp=enabled \ > + -Damd-use-llvm=true \ > -Dandroid-libbacktrace=disabled \ > -Dandroid-strict=true \ > -Dandroid-stub=false \ > @@ -191,6 +194,8 @@ MESALIB_CONF_OPT := \ > -Dglx-direct=true \ > -Dglx-read-only-text=false \ > -Dgpuvis=false \ > + -Dhtml-docs=disabled \ > + -Dhtml-docs-path= \ > -Dimagination-srv=false \ > -Dinstall-intel-clc=false \ > -Dinstall-intel-gpu-tests=false \ > @@ -198,6 +203,7 @@ MESALIB_CONF_OPT := \ > -Dintel-rt=disabled \ > -Dlibunwind=disabled \ > -Dllvm=$(call ptx/endis, PTXCONF_MESALIB_LLVM)d \ > + -Dllvm-orcjit=false \ > -Dlmsensors=$(call ptx/endis, PTXCONF_MESALIB_LMSENSORS)d \ > -Dmicrosoft-clc=disabled \ > -Dmin-windows-version=8 \ > @@ -218,10 +224,12 @@ MESALIB_CONF_OPT := \ > -Dshared-glapi=enabled \ > -Dshared-llvm=enabled \ > -Dspirv-to-dxil=false \ > + -Dsplit-debug=disabled \ > -Dsse2=true \ > -Dstatic-libclc=[] \ > -Dteflon=$(call ptx/truefalse, PTXCONF_MESALIB_TEFLON) \ > -Dtools=[] \ > + -Dunversion-libgallium=false \ > -Dva-libs-path=/usr/lib/dri \ > -Dvalgrind=disabled \ > -Dvdpau-libs-path=/usr/lib/vdpau \ > @@ -269,25 +277,24 @@ $(STATEDIR)/mesalib.targetinstall: > @$(call install_fixup, mesalib,DESCRIPTION,missing) > > ifneq ($(strip $(MESALIB_DRI_GALLIUM_LIBS-y)),) > - @$(call install_copy, mesalib, 0, 0, 0644, \ > - $(MESALIB_PKGDIR)/usr/lib/dri/$(firstword $(MESALIB_DRI_GALLIUM_LIBS-y))_dri.so, \ > - /usr/lib/dri/gallium_dri.so) > + @$(call install_copy, mesalib, 0, 0, 0644, -, /usr/lib/libgallium-$(MESALIB_VERSION).so) > +ifdef PTXCONF_MESALIB_EGL_X11 > + @$(call install_copy, mesalib, 0, 0, 0644, -, /usr/lib/dri/libdril_dri.so) > > @$(foreach lib, $(MESALIB_DRI_GALLIUM_LIBS-y), \ > test -f $(MESALIB_PKGDIR)/usr/lib/dri/$(lib)_dri.so || \ > ptxd_bailout "missing gallium driver $(lib)_dri.so"$(ptx/nl) \ > - $(call install_link, mesalib, gallium_dri.so, \ > + $(call install_link, mesalib, libdril_dri.so, \ > /usr/lib/dri/$(lib)_dri.so)$(ptx/nl)) > endif > +endif > ifneq ($(strip $(MESALIB_DRI_VA_LIBS-y)),) > - @$(call install_copy, mesalib, 0, 0, 0644, \ > - $(MESALIB_PKGDIR)/usr/lib/dri/$(firstword $(MESALIB_DRI_VA_LIBS-y))_drv_video.so, \ > - /usr/lib/dri/va_dri.so) > + @$(call install_copy, mesalib, 0, 0, 0644, -, /usr/lib/dri/libgallium_drv_video.so) > > @$(foreach lib, $(MESALIB_DRI_VA_LIBS-y), \ > test -f $(MESALIB_PKGDIR)/usr/lib/dri/$(lib)_drv_video.so || \ > ptxd_bailout "missing va driver $(lib)_drv_video.so"$(ptx/nl) \ > - $(call install_link, mesalib, va_dri.so, \ > + $(call install_link, mesalib, libgallium_drv_video.so, \ > /usr/lib/dri/$(lib)_drv_video.so)$(ptx/nl)) > endif >