On Mon, Feb 20 2023 at 22:21:15 -05:00:00, Denys Dmytriyenko <[email protected]> wrote:

> diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.0.%.bbappend
 > b/meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.0.%.bbappend
 > new file mode 100644
 > index 00000000..912e9e9d
 > --- /dev/null
 > +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.0.%.bbappend
 > @@ -0,0 +1 @@
> +require ${@bb.utils.contains <mailto:${@bb.utils.contains>_any('PREFERRED_PROVIDER_virtual/gpudriver',
 > 'ti-img-rogue-driver ti-sgx-ddk-km', 'pvr-mesa.inc', '', d)}
> diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa_22.0.%.bbappend
 > b/meta-ti-bsp/recipes-graphics/mesa/mesa_22.0.%.bbappend
 > new file mode 100644
 > index 00000000..912e9e9d
 > --- /dev/null
 > +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa_22.0.%.bbappend
 > @@ -0,0 +1 @@
> +require ${@bb.utils.contains <mailto:${@bb.utils.contains>_any('PREFERRED_PROVIDER_virtual/gpudriver',
 > 'ti-img-rogue-driver ti-sgx-ddk-km', 'pvr-mesa.inc', '', d)}
 > diff --git a/meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc
 > b/meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc
 > new file mode 100644
 > index 00000000..17edee8d
 > --- /dev/null
 > +++ b/meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc
 > @@ -0,0 +1,40 @@
> +# PowerVR Graphics require several patches that have not made their way
 > +# upstream yet. This allows us to build the shims we need without
 > completely
 > +# clobbering mesa.
 > +
 > +BRANCH = "powervr/kirkstone/22.0"
 > +
 > +SRC_URI = " \
 > +    git://
> gitlab.freedesktop.org/StaticRocket/mesa.git;protocol=https;branch=${BRANCH} > <<http://gitlab.freedesktop.org/StaticRocket/mesa.git;protocol=https;branch=$%7BBRANCH%7D>>
 > \
 > +
> file://0001-meson.build-check-for-all-linux-host_os-combinations.patch <file://0001-meson.build-check-for-all-linux-host_os-combinations.patch/> \ > + file://0002-meson.build-make-TLS-ELF-optional.patch <file://0002-meson.build-make-tls-elf-optional.patch/> \ > + file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch <file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch/> \ > + file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch <file://0001-futex.h-define-__nr_futex-if-it-does-not-exist.patch/> \ > + file://0001-util-format-Check-for-NEON-before-using-it.patch <file://0001-util-format-check-for-neon-before-using-it.patch/> \
 > +
> file://0001-Revert-egl-wayland-deprecate-drm_handle_format-and-d.patch <file://0001-revert-egl-wayland-deprecate-drm_handle_format-and-d.patch/> \
 > +"
 >

Having here all the patches in oe-core will stop working if someone changes
 the main recipe.
 This already happens in the master branch of oe-core.

IMO If these patches are needed they should be merged on the ti fork branch.

The same exact comment was already provided offline in the past, along with a number of others, and there was supposed to be v8 coming... Not sure what
happened and why unmodified v7 got merged...

That's my bad. Got tunnel vision trying to get SGX opperational and forgot about some of the suggested changes for v8. I'll submit a patch to resolve that when I get SGX opperational. I believe the solution that seemed most applicable was to drop the patch commit and instead use the patch paths from oe-core directly.

We didn't want to carry those patches in mesa since some of those are backports and distribution specific hacks for packaging. I want to keep mesa as vanilla as possible for multi-distro.

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

Reply via email to