summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-graphics/mesa
Commit message (Collapse)AuthorAgeFilesLines
* meta-ti/all: remove S in recipes that fetch from git via setting ↵Ryan Eatmon2025-06-252-4/+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>
* mesa-pvr: fold GL ES 3 packages into GL ES 2 onesRyan Eatmon2025-05-291-14/+4
| | | | | | | | | | | | This is a sideport of a patch against mesa in oe-core [1]. OpenGL ES 3 is closely tied to the OpenGL ES 2: there is no separate library, one can use GL ES 2 headers for GL ES 3 app, etc. Instead of having separate packages, merge GL ES 3 packages into GL ES 2 ones. [1] https://git.openembedded.org/openembedded-core/commit/?id=7c0e9c170db93d9af7cc505dcd71c4f3d6c4e9c5 Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* CLEANUP: Add missing SUMMARYRyan Eatmon2025-05-162-2/+2
| | | | | | | | 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-233-2/+382
| | | | | | | | | | | | | | 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: relocate 22.3.5 patchesRandolph Sapp2025-02-047-0/+0
| | | | | | | | Relocate the patches for 22.3.5 to the mesa-pvr-22.3.5 subdirectory so it's more clear what version of mesa they apply to. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr: version 23.2.1 -> 24.0.1Randolph Sapp2025-02-0410-113/+181
| | | | | | | | | The gfx library provided by rogue can support this never version of mesa out of the box. Pull it in now that we have ported the SGX side of things. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* sgx: bump version for kernel 6.6 / mesa 23.2.1Randolph Sapp2024-11-071-1/+1
| | | | | | | | | | Bump versions of mesa-pvr and ti-sgx-ddk-km to support SGX with kernel 6.6 and the same version of mesa rogue is using. Enable SGX by default in the 6.6 BSP provider section logic. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr-22.3.5: Fix build issues with llvm 18+Ryan Eatmon2024-11-063-0/+120
| | | | | | | 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>
* mesa-pvr_23.2.1: Fix build issues with llvm 18+Ryan Eatmon2024-11-062-0/+54
| | | | | | | 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-272-0/+2
| | | | | | | | | | | | | | | | 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>
* recipes: Remove DEFAULT_PREFERENCERyan Eatmon2024-06-151-2/+0
| | | | | | | | Now that are past the inital stages of our LTS migration, we can remove the DEFAULT_PREFERENCE settings that prevented these recipes from being the default. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr_23.2.1: add recipe for 23.2.1Randolph Sapp2024-05-021-0/+58
| | | | | | | | | | | | | | | 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 may run into sstate errors when switching to or 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 <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa-pvr_23.2.1: import mesa patches from oe-core/masterRandolph Sapp2024-05-024-0/+150
| | | | | | | | | Locally overlay verbatim copies of mesa 22.3.5 patches from oe-core/master, so we get whatever QoL patches from core relevant to the current release. Signed-off-by: Randolph Sapp <rs@ti.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-253-0/+188
| | | | | | | 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-113-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* pvr-mesa: add new vulkan configuration options and wsiRandolph Sapp2023-05-081-1/+5
| | | | | | | | | | | | Add the required vulkan configuration options and the new PVR WSI file to the corresponding package. Also bump the PV to match the version of Mesa actually being shipped. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa: update pvr-mesa for the 22.3.5 version of mesaRandolph Sapp2023-05-031-6/+9
| | | | | | | | | | | | | | Update the pvr-mesa include to use the 22.3.5 patches from oe-core/master and the branch for DDK version 23.1 on freedesktop. Also remove the PACKAGECONFIG options elf-tls and xvmc as those functions were dropped by the oe-core/master version of this package and mesa package respectively. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa: locally overlay 22.3.5-specific patches from oe-core/masterRandolph Sapp2023-05-038-265/+120
| | | | | | | | | | | | | Locally overlay verbatim copies of mesa 22.3.5 patches from oe-core/master, so the same codebase works in kirkstone and master. Also drop the old patches from 22.0 that were from the tip of oe-core/kirkstone previously. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: Update mesa bbappend files for mesa-23Theodore A. Roth2023-03-312-0/+0
| | | | | | | | | | | | | | | | | | | | | The mesa recipes in oe-core have been updated to mesa-23 causing the following build error: $ bitbake core-image-minimal Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |#############################################| Time: 0:00:20 Parsing of 2816 .bb files complete (0 cached, 2816 parsed). 4472 targets, 484 skipped, 0 masked, 0 errors. ERROR: No recipes in default available for: /build/../oe/meta-ti/meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend /build/../oe/meta-ti/meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend Summary: There was 1 ERROR message, returning a non-zero exit code. Signed-off-by: Theodore A. Roth <troth@openavr.org> Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: graphics: Resolve dependency chainRandolph Sapp2023-02-243-0/+50
| | | | | | | | | | Patched mesa will now be configured based on what virtual/gpudriver preferred provider is selected. The gpu drivers will now runtime recommend the associated UM components. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* mesa: locally overlay 22.0-specific patches from oe-core/kirkstoneDenys Dmytriyenko2023-02-246-0/+367
| | | | | | | | | | Locally overlay verbatim copies of mesa 22.0 patches from oe-core/kirkstone, so the same codebase works in kirkstone and master. Since upstream version of mesa in master is now 22.3 and no longer carries these patches, but they are still needed for 22.0-based PVR fork of mesa used with Rogue driver. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* Revert "meta-ti-bsp: graphics: Resolve dependency chain"Denys Dmytriyenko2023-02-213-42/+0
| | | | | | | | | Merged by accident. This reverts commit 15417ca726f75881a2c51c08d258ea923803cbb9. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: graphics: Resolve dependency chainRandolph Sapp2023-02-163-0/+42
Patched mesa will now be configured based on what virtual/gpudriver preferred provider is selected. The gpu drivers will now runtime recommend the associated um components. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>