summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-bsp/powervr-drivers
Commit message (Collapse)AuthorAgeFilesLines
* meta-ti: Remove bsp-ti-6_1 and bsp-bb_org-6_1 supportAndrew Davis2025-07-251-37/+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-253-6/+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-163-3/+3
| | | | | | | | 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>
* ti-img-rogue-driver: resolve issues with fdinfoRandolph Sapp2025-04-011-1/+1
| | | | | | | | | | | | | Bump the srcrev to include a fix for events where the driver is requested to show advanced information about file descriptors that are associated with the device but are not currently associated with a rendering task. This should address the kernel fault in pvr_show_fdinfo associated with fdinfo/lsof. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-sgx-ddk-km: rework preferred_target selectionRandolph Sapp2025-03-201-1/+1
| | | | | | | | | | | Bump SRCREV to include a patch that changes the way compiler_preferred_target is selected for a given toolchain. This now checks specified SYS_CFLAGS to see if hardfloat is set explicitly and will override the default target selection if necessary. Signed-off-by: Randolph Sapp <rs@ti.com> Tested-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-driver: fix os amp interactionsRandolph Sapp2025-03-171-1/+1
| | | | | | | | | | | Fix OS APM interactions when uninitialized. Because this driver uses lazy initialization, if the GPU is never given a task it will not be initialized. Even if the device is not fully initialized it is still registered with the DRM subsystem and capable of receiving OS APM signals. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-sgx-ddk-km: bump revision for kernel 6.12Randolph Sapp2025-02-101-1/+1
| | | | | | | | | | | Bump the source revision to allow this module to work on kernel 6.12. Originally this was going to be a separate branch, but considering the bsp selector logic, this makes just as much sense. Also enable the sgx driver in the ti_6.12 bsp selector. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: version 24.1.6554834 -> 24.2.6643903Randolph Sapp2025-02-041-2/+2
| | | | | | | | Bump the package version for DDK 24.2, this includes a few fixups from IMG and support for a newer version of mesa. 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/+9
| | | | | | | | | | 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>
* 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>
* meta-ti-bsp: powervr: Enable building for j742s2Aniket Limaye2024-07-191-1/+2
| | | | | | | j742s2 has the same GPU as j784s4. Add j742s2 support to the recipes. Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-driver: pickup page size patchesRandolph Sapp2024-07-192-2/+2
| | | | | | | | | Bump SRCREV to pick up some patches that adjust the way heaps are sized. This solves issues seen when utilizing page sizes greater than 4K. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-driver_24.1: gcc 14 compatcicd.master.202407040100cicd.master.202407020100Randolph Sapp2024-07-011-1/+1
| | | | | | | | Bump this recipe to add a change to help with GCC 14 compatibility in the check-cc script used to check compiler flags before use. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*_23.3: gcc 14 compat and branch selRandolph Sapp2024-07-011-2/+2
| | | | | | | | | | | Bump this recipe to add a change to help with GCC 14 compatibility in the check-cc script used to check compiler flags before use. Reset this back to the proper branches for kernel 6.1 since this recipe is only being used in 6.6 bsp providers. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti: remove MACHINE_KERNEL_PR globallyDenys Dmytriyenko2024-06-153-9/+0
| | | | | | | | MACHINE_KERNEL_PR is a remnant of the early OE days and hasn't been needed for quite some time. Let's finally remove it completely. Signed-off-by: Denys Dmytriyenko <denys@konsulko.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>
* ti-img-rogue-*: add ddk 24.1 recipes for ltsprepRandolph Sapp2024-05-021-0/+44
| | | | | | | | | Recipes for DDK 24.1, but lock them behind ltsprep tags because they require device tree changes that do not work on the current default kernel for this layer. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: switch branches to new ltsRandolph Sapp2024-02-091-2/+2
| | | | | | | | Switch the branches to the new LTS names. These are still experimental, hence the isolation from kirkstone. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: version bump to 23.3.6512818Randolph Sapp2024-02-072-38/+1
| | | | | | | | | | | | | | | | Migrate to version 23.3.6512818, this includes the stability updates released in 23.2 as well as some additional modifications to help with userspace application support, namely Chromium. We're also dropping the x11 window system extensions from the Vulkan libraries for now. Ideally, both x11 and wayland extensions will be provided by mesa's vulkan-wsi-layer in the future, but currently x11 isn't supported and this just added extra complexity to the package in Yocto. Signed-off-by: Randolph Sapp <rs@ti.com> Tested-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: stability updateRandolph Sapp2024-02-061-1/+1
| | | | | | | | | | | | | | | Bump SRCREV to include the following changes in UM and KM: - Rebuild all releases with external memory wrap disabled due to some incompatibility with certain Qt use cases. - Add a watchdog change that prevents an occasional false timeout when servicing long DM processes. - Rely on snooping to perform certain cache operations and results in decreased overhead for device -> cpu communications. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti: powervr: Enable building for j722sDarren Etheridge2024-01-101-1/+2
| | | | | | Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti: powervr: Bump srcrev to include j722s supportDarren Etheridge2024-01-091-1/+1
| | | | | | Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-driver: Fix build error due to .SECONDARY/.NOTINTERMEDIATERyan Eatmon2023-11-012-0/+37
| | | | | | | | | | | There is a build error under master that is not present in kirkstone related to .SECONDARY/.NOTINTERMEDIATE being set differently between the ti-img-rogue-driver repo and the kernel. The long term solution to allow this code to be built on both kirkstone/master is being investigated. In the meantime, this patch gets things building on master. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: add am62p supportRandolph Sapp2023-10-301-1/+2
| | | | | | | | | | | | | Add the configuration options for am62pxx-evm. This also adds support for new devicetree properties to override the clock value of the device. See the kernel module modifications [1] and dt bindings for more information. [1] https://git.ti.com/cgit/graphics/ti-img-rogue-driver/log/?h=linuxws/kirkstone/k6.1/23.2.6460340 Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: move to 23.2 releaseRandolph Sapp2023-10-301-1/+1
| | | | | | | | | | Move to the 23.2 release branch and bump SRCREV accordingly. This branch has the proper implementation of the cache coherency fix along with some other checks that address some system stability issues on Jacinto devices. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-sgx-ddk-*: version bump to support kirkstoneRandolph Sapp2023-10-161-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump ti-sgx-ddk-um and ti-sgx-ddk-km to the new branch for Kirkstone and mesa independent builds. This also sets up SGX to use the latest mesa revision rogue uses. Changelog: - IMG Support has officially ended. This repo will not be getting regular updates after this unless things are really broken. - The Mesa patches which were previously being relicensed internally were opened and combined with the unofficial rogue efforts on freedesktop. - Toolchains were upgraded and multiple warnings and issues were addressed. Hardware recoveries work now, but there are still some longstanding issues with SGX that remain to be addressed if further resources are set aside for that. - We moved to an lws-generic build target to avoid rebuilding external components. As such, these external components must be patched as needed. Libdrm is an example of this and the required patches can be found in meta-ti. Known bugs: - Buffer allocations under Weston may misbehave - GLSL macro redefinitions will cause errors regardless of whether or not they are identical Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: bump srcrev for jacinto fixesRandolph Sapp2023-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | Bump the SRCREV for the umlibs and driver package to include some fixes for Jacinto devices. These patches do the following: - Fix virtual memory addressing - Resolve an issue with APM and debug requests - Attempt to resolve most of the cache coherency related issues on Jacinto devices - Introduce some extra cache maintenance operations in the kernel module It also introduces the following known issues: - Visual artifacting on the second-to-last EGL/GLES context on BXS based devices (J721S2/J784S4) We're still working on that last one, but the stability improvements make this worth while for now. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-driver: drop unused patchRandolph Sapp2023-06-281-28/+0
| | | | | | | | | | | | The following patch was dropped from the SRC_URI one of my previous graphics overhaul patches: 0001-compiler-support-OpenEmbedded-nodistro-internal-aarc.patch Actually remove it from the source tree now that upstream is carrying the equivalent to help enable other tools. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-driver: update to catch more compilersRandolph Sapp2023-06-261-1/+1
| | | | | | | | Upstream changed to not be so picky about compilers. Bump SRCREV so the odd things using our recipes are happy again. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-umlibs: bump version and explicitly packageRandolph Sapp2023-06-011-1/+1
| | | | | | | | | | | | | | | | | | | Bump the version and explicitly package all Khronos APIs separately. This should be nice for those folks that want a headless opencl system for tinkering and such. This version includes experimental GEM support (for applications like Chromium that like to poke at the render node) and a new Vulkan ICD loader interface for better support with the Vulkan ICD loaders present in Yocto. This lifts a method from mesa used to force a common naming convention for Vulkan, OpenCL, and OpenGLES libs to make things a little easier to follow. Without it the target package names get scrambled based on the shared object name. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: ti-img-rogue-driver: cleanup apm and add hackRandolph Sapp2023-05-191-1/+1
| | | | | | | | | | | | | | | | Cleanup the J* APM patch a little. Apparently I could have stood to read the docs a little more. Found some better runtime pm functions and also discovered something new about the power island definition. Notes from upstream: - Add the CCB coherency HACK from DDK 1.15 to improve stability on J* devices - Fix power island support on J* devices - Use better APM calls so user modification to power domains don't cause the device to enter a bad state Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-driver: enable bxs/8xe apmRandolph Sapp2023-05-171-1/+1
| | | | | | | | | Bump the src revision to enable the following features on Jacinto: - Active power managment - Power island control via firmware Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* graphics: upgrade rogue graphics to 23.1.6404501Randolph Sapp2023-05-031-2/+2
| | | | | | | | | | | | | | Update the rogue graphics recipes to point at the new 23.1.6404501 release. This adds support for: - kernel 6.1 - vulkan - opencl (more testing needed) - zink (more testing needed) 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>
* ti-sgx-ddk-km: Use PVR_BUILD and PVR_WS to match RogueAndrew Davis2023-04-181-4/+6
| | | | | | | | Use these to select build type and window system support to match how the Rouge driver does the same. No functional change. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-sgx-ddk-km: Be specific on supported K3 machinesAndrew Davis2023-04-181-2/+2
| | | | | | | | Of the K3 family only the AM65x device is currently supported by this driver. COMPATIBLE_MACHINE should match. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: graphics: Resolve dependency chainRandolph Sapp2023-02-242-15/+13
| | | | | | | | | | 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>
* Revert "meta-ti-bsp: graphics: Resolve dependency chain"Denys Dmytriyenko2023-02-213-13/+43
| | | | | | | | | 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-44/+13
| | | | | | | | | 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>
* ti-img-rogue-driver: Bump the source revisionRandolph Sapp2022-11-231-1/+1
| | | | | | | | | | | | | Bump the source revision for the rogue pvr kernel module. Source changelog: - A hack was added to increase stability on J7 platforms while we are looking into a proper fix for cache coherency issues in this module 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>
* ti-img-rogue-driver: drop local patch as upstream is now fixedDenys Dmytriyenko2022-11-232-35/+0
| | | | | Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-img-rogue-*: Bump the graphics recipesRandolph Sapp2022-11-231-6/+2
| | | | | | | | | | | Bump the graphics recipes source revision and remove the old BVNC switch. The BVNC is now baked into the platform Makefile that is selected with PVR_BUILD_DIR / TARGET_PRODUCT. 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>
* machine: Add j784s4-evm configuration.Ryan Eatmon2022-11-231-2/+4
| | | | | | | | | | | | | | | Adding support for j784s4-evm: - Add configurations. - Add firmware. - Add u-boot. - Add gpu support. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Hari Nagalla <hnagalla@ti.com> 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>
* all: Stop using git://git.ti.comRyan Eatmon2022-11-232-2/+2
| | | | | | | | | | | | Stop using un-encrypted git:// protocol to access TI repositories. This is inline with the same arguments as made by github in https://github.blog/2021-09-01-improving-git-protocol-security-github/ Signed-off-by: Nishanth Menon <nm@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>
* ti-graphics: update for 4K/64K page size GPU driversDarren Etheridge2022-09-221-3/+3
| | | | | | | | | | Pull in the GPU KM/UMLIBS that enable the unified 4K/64K page firmware support in the IMG Rogue drivers. Signed-off-by: Darren Etheridge <detheridge@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>
* ti-img-rogue-driver: fix breakage with GCC 11Denys Dmytriyenko2022-05-022-0/+35
| | | | | | | | | | | | Explicitly cast the value into correct type to fix this error: | .../services/server/devices/rogue/rgxinit.c:1345:36: error: implicit conversion from 'enum <anonymous>' to 'IMG_BOOL' {aka 'enum tag_img_bool'} [-Werror=enum-conversion] | 1345 | bEnableAPM = false; | | ^ Cc: Darren Etheridge <detheridge@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-graphics: gpu enable and move all platforms to ddk 1.15Etheridge, Darren2022-05-022-40/+44
| | | | | | | | | | | Enable the GPU for am62xx and j721s2 and use IMG DDK 1.15 Migrate Imagination DDK 1.13 to DDK 1.15 for J721e Signed-off-by: Darren Etheridge <detheridge@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: convert licenses to SPDX formatDenys Dmytriyenko2022-02-252-2/+2
| | | | | | | Update LICENSE variable to use SPDX license identifiers. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti: create a sub-layer meta-ti-bsp from existing contentDenys Dmytriyenko2022-02-223-0/+115
Extra sub-layers will be created next and relevant content moved across them. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>