summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
Commit message (Collapse)AuthorAgeFilesLines
* meta-ti: Remove bsp-ti-6_1 and bsp-bb_org-6_1 supportAndrew Davis13 days1-60/+0
| | | | | | | | | | | | | | | | Remove support for the v6.1 TI and Beagle BSPs. This was originally split into meta-ti-bsp and meta-beagle changes, but there are some hidden interdependencies that made that more painful than needed. Remove v6.1 support from both BSP layers here. This includes packages specific to those BSPs: - TI and BB.org v6.1 Linux kernel - TI and BB.org 2023.04 U-Boot - Rogue GPU driver 23.3 and Mesa 22.3.5 Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
* meta-ti/all: remove S in recipes that fetch from git via setting ↵Ryan Eatmon2025-06-251-2/+0
| | | | | | | | | | BB_GIT_DEFAULT_DESTSUFFIX Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases). Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* CLEANUP: Add missing SUMMARYRyan Eatmon2025-05-161-1/+1
| | | | | | | | Every recipe should have a SUMMARY and that can only be 72 characters at most. Some of these recipes had DESCRIPTIONS and not SUMMARY, some were missing the SUMMARY, and some had slightly too long values for the SUMMARY. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: add local copy of mesa.incMax Krummenacher2025-04-231-1/+1
| | | | | | | | | | | | | | OE-core updated mesa to 25.0.2 [1]. The resulting mesa.inc file no longer matches mesa recipes building older versions. Copy the mesa.inc version from before the update renamed to mesa-pvr.inc to work around the issue. | ../git/meson.build:21:0: ERROR: Value "softpipe" for option "gallium-drivers" is not in allowed choices: "auto, kmsro, radeonsi, r300, r600, nouveau, freedreno, swrast, v3d, vc4, etnaviv, tegra, i915, svga, virgl, panfrost, iris, lima, zink, d3d12, asahi, crocus, pvr, sgx, all" [1] https://git.openembedded.org/openembedded-core/commit/?id=f9eb0468e45ee5a6a3b3195ef5e78c328c4347c9 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr-22.3.5: Fix build issues with llvm 18+Ryan Eatmon2024-11-061-0/+2
| | | | | | | Backport two fixes from the latest mesa project to fix two builds issues related to newer llvm versions. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* sgx: breaking things to fix other thingsRandolph Sapp2024-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We got a bit more time to do a proper migration this time. A discovery period to see what actually works and boy, it wasn't much. This update resolves issues with: - Macro redefinition - Sparse NPOT texture allocations - vec4 reductions - Mesa image extensions - Buffer allocations under weston - Devices with both a RENDER and PRIMARY display node - Underprivileged users being unable to allocate buffers - Removed call to drm_map_legacy - Replace deprecated kernel calls - Fix some cache attributes for userspace allocations - About 40 other various errors and warnings This core was never fully GLES2 conformant. In fact, if you try to run cts on any of the older releases you'll find yourself in a hardware recovery loop pretty quickly. We've gotten it to about 94.2% conformance with these patches. There are still dragons here, but they are at least a little more manageable. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: set pv explicitlyMax Krummenacher2024-08-271-0/+1
| | | | | | | | | | | | | | | | openembedded-core commit f5cfb3e23603 ("mesa: set PV from the .inc file and not via filenames") now sets PV in the mesa.inc file explicitely to whatever version oe-core is using. Override that setting to the actual version here to prevent the following parse error and whatever else would go wrong afterwards. | ERROR: .../mesa-pvr_23.2.1.bb: Unable to get checksum for mesa-pvr SRC_URI entry 0001-meson-Disable-cmake-dependency-detector-for-llvm.patch: file could not be found | The following paths were searched: | .../meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.7/bsp-ti-6_1/0001-meson-Disable-cmake-dependency-detector-for-llvm.patch | ... Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: bump srcrev and drop conditional logicRandolph Sapp2024-02-061-5/+1
| | | | | | | | | | Bump the SRCREV to include some useful patches that: - Fix the ROGUE segfault issue introduced by SGX (this was what the old conditional logic was addressing) - Fix destruction of event queue with proxies still attached Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: adjust PR to be RPM-safecicd.master.202401090100cicd.master.202401040100cicd.master.202401030100cicd.master.202401010100cicd.master.202312280100cicd.master.202312270100cicd.master.202312260100cicd.master.202312220100cicd.master.202312200100cicd.master.202312190100cicd.master.202312180100Denys Dmytriyenko2023-12-131-1/+1
| | | | | | | | | | | | | RPM does not accept '-' as a character in the PR/version and fails with: | error: line 4: Illegal char '-' (0x2d) in: Release: sgxrgx-54fd9d7dea098b6f11c2a244b0c6763dc8c5690c.1 The correct approach is to reference SRCPV and not SRCREV and also add it to PV and not PR. But PV is used in the branch to fetch the sources and cannot be modified, so use SRCPV in PR w/o any illegal characters. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: use different srcrev for Rogue and SGX GPU platformsDarren Etheridge2023-11-241-2/+6
| | | | | | | | | | | | | | | | | | A bug was introduced while trying to unify the Mesa version that is used on SGX GPU's and Rogue GPU's. It manifests itself as an immediate segfault whenever you try and run something like glmark2-es2-wayland or weston-simple-egl on certain Rogue based platforms (specifically am62x). Use different srcrev for Rogue GPU and SGX GPU platforms. The SGX GPU platforms will use the latest commit. Rogue GPU platforms will use the last good working commit before SGX related changes were introduced. This change will be reverted once the issue is rootcaused and a common solution is found for both Rogue and SGX based GPU platforms. Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: isolate sgx and rogue componentsRandolph Sapp2023-10-301-1/+1
| | | | | | | | Bump SRCREV to include some patches to better isolate SGX and PVR components. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: bump srcrev for sgx supportRandolph Sapp2023-10-161-1/+1
| | | | | | | Bump the SRCREV to include the required changes to build for SGX now. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: Patches for LLVM 17 supportRyan Eatmon2023-09-251-0/+2
| | | | | | | There are a number of issues in gallium when moving to LLVM 17. These patches fix those compile issues. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: convert bbappend into standalone alternative providerDenys Dmytriyenko2023-05-111-0/+57
There are some unobvious issues with adding PVR support to Mesa via a bbappend: 1. We need to mark mesa package as machine-specific, due to differences in builds between SGX, Rogue and software-rendering 2. We also need to then mark mesa package as providing safe ABIs (EGL/GLES/GBM) in order for all generic dependent packages to not be treated as machine-specific, allowing their re-use across different machines of the same architecture But doing the above alters the upstream mesa package and changes its signatures even when not building for TI platforms, which is a Yocto Project compliance violation. In order to resolve this issue, convert Mesa bbappend, that adds PVR support, into its own standalone alternative provider, called mesa-pvr and allow selecting it with PREFERRED_PROVIDER settings. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>