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
@@ -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}:"
+
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},"