On Wed May 1, 2024 at 10:06 PM CDT, Denys Dmytriyenko wrote:
> On Wed, May 01, 2024 at 08:26:21PM -0400, Denys Dmytriyenko wrote:
> > From: Randolph Sapp <[email protected]>
> > 
> > Add a recipe for mesa-pvr to use a newer branch based on mesa 23.2.1.
> > This branch does not currently contain SGX patches so it is also being
> > masked by the ltsprep branding to prevent regressing those devices
> > currently.
> > 
> > Please note that because this recipe is currently in
> > SIGGEN_EXCLUDERECIPES_ABISAFE you may run into sstate errors when
> > switching away from the ltsprep tag. Please issue a clean to mesa and
> > ti-img-rogue-umlibs if you get warnings from either package's
> > do_create_runtime_spdx step.
> > 
> > Signed-off-by: Randolph Sapp <[email protected]>
> > Signed-off-by: Denys Dmytriyenko <[email protected]>
> > ---
> >  .../mesa/{mesa-pvr_22.3.5.bb => mesa-pvr_23.2.1.bb}  | 12 ++++++------
> >  1 file changed, 6 insertions(+), 6 deletions(-)
> >  copy meta-ti-bsp/recipes-graphics/mesa/{mesa-pvr_22.3.5.bb => 
> > mesa-pvr_23.2.1.bb} (83%)
> > 
> > diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb 
> > b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb
> > similarity index 83%
> > copy from meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
> > copy to meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb
> > index 5abd0793..c83ba87d 100644
> > --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
> > +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb
> > @@ -2,23 +2,23 @@
> >  # upstream yet. This allows us to build the shims we need without 
> > completely
> >  # clobbering mesa.
> >  
> > +DEFAULT_PREFERENCE = "-1"
> > +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}_${PV}:"
>
> This is wrong - ${PN}-${PV} is one of the default locations for patches, 
> not ${PN}_${PV}.
>


Huh. Checking oe-core/meta/classes-global/base.bbclass and the documentation it
doesn't look like it but dumping the variables at runtime, you seem to be
right...

Wonder what's appending that. I'll spin up a new revision.


> > +
> >  require recipes-graphics/mesa/mesa.inc
> >  
> >  SUMMARY += " (with PowerVR support for TI platforms)"
> >  
> >  LIC_FILES_CHKSUM = 
> > "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10"
> >  
> > -BRANCH = "powervr/kirkstone/${PV}"
> > +BRANCH = "powervr/${PV}"
> >  
> >  SRC_URI = " \
> >      
> > git://gitlab.freedesktop.org/StaticRocket/mesa.git;protocol=https;branch=${BRANCH}
> >  \
> >      file://0001-meson.build-check-for-all-linux-host_os-combinations.patch 
> > \
> >      file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
> > -    file://0001-util-format-Check-for-NEON-before-using-it.patch \
> > -    file://0001-gbm-backend-fix-gbm-compile-without-dri.patch \
> > -    file://0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch 
> > \
> >      file://0001-gallium-Fix-build-with-llvm-17.patch \
> > -    file://0001-fix-gallivm-limit-usage-of-LLVMContextSetOpaquePoint.patch 
> > \
> > +    file://0001-meson-Disable-cmake-dependency-detector-for-llvm.patch \
> >  "
> >  
> >  S = "${WORKDIR}/git"
> > @@ -28,7 +28,7 @@ PACKAGECONFIG:append = " \
> >      ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 
> > 'ti-sgx-ddk-km', 'sgx', '', d)} \
> >  "
> >  
> > -SRCREV = "1be98ba80452ebe38546a7fca26b5a70f2629083"
> > +SRCREV = "b12290126ba6a154f0e8b0a8c8b2b0d64f98e427"
> >  
> >  PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
> >  PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
> > -- 
> > 2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17630): 
https://lists.yoctoproject.org/g/meta-ti/message/17630
Mute This Topic: https://lists.yoctoproject.org/mt/105856663/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to