summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-apitrace
Commit message (Collapse)AuthorAgeFilesLines
* imx-gpu-apitrace: Add support for i.MX 95Tom Hochstein2024-04-241-5/+7
| | | | | | Align with NXP BSP 6.6.3-1.0.0. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Update to commit 522cb29Tom Hochstein2023-05-171-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layer: Use github for i.MX sourceTom Hochstein2023-02-081-1/+1
| | | | | | The NXP repos are moving to github. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Sync options with recipe from meta-oeKhem Raj2023-01-111-1/+8
| | | | | | Reset SECURITY_CFLAGS when using clang to fix build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-apitrace: Upgrade to 10.0.0Tom Hochstein2022-01-292-11/+8
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: enable back for glibc >= 2.34Andrey Zhizhikin2021-09-022-4/+36
| | | | | | | | | | | | | | Upsteam suggested that for glibc >= 2.34, dlsym wrappers can be disabled, see [1]. Similar commit is introduced in meta-oe: 9fdc7960b ("apitrace: Enable on glibc >= 2.34") Introduce patch to the layer and enable the package. Link: [1]: https://github.com/apitrace/apitrace/issues/756 Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Cc: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: exclude from builds with glibc 2.34+Andrey Zhizhikin2021-08-181-0/+3
| | | | | | | | | | | | | | | Upstream project has issues with new glibc dropping __libc_dlopen_mode and __libc_dlsym functions, which were initially marked as GLIBC_PRIVATE. Since according to [1] there is no solution for upstream at the moment, exclude the NXP fork of apitrace from builds. meta-oe has similar exclusion commit ba94b0fef ("apitrace: Exclude from builds with glibc 2.34+") for upstream component. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Link: [1]: https://github.com/apitrace/apitrace/issues/756
* layer: Convert to new override syntaxKhem Raj2021-08-121-5/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-gpu-apitrace: Upgrade for eglretrace supportTom Hochstein2021-02-161-8/+17
| | | | | | | eglretrace was not available for i.MX 6 and 7 on framebuffer or wayland. For wayland, waffle is enabled for 6 and 7, matching i.MX 8. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: fix the upgrade after rebase to 9.0.0Andrey Zhizhikin2020-09-236-10573/+3
| | | | | | | | Bump the repository version as it was updated upstream in NXP repository and drop unused patches from the layer, they should be present now in the updated version from upstream. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-gpu-apitrace: Enable egl and waffleTom Hochstein2020-04-241-7/+1
| | | | | | | Add egl and waffle as common configuration. The unique configuration for 8M and 8M Nano is no longer required. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Add config options for EGL and GUITom Hochstein2020-04-241-2/+3
| | | | | | | Also, remove x11-egl option since it is a derivative of egl, x11, and waffle, and is no longer needed. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Don't package binaries separatelyTom Hochstein2020-04-241-3/+7
| | | | | | | The libraries are not useful without the binaries, so putting them in separate packages is wrong. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Rebase fork on 9.0.0Tom Hochstein2020-04-241-9/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: x11: make python3 compatibleMax Krummenacher2020-03-302-0/+61
| | | | | | | | | | When building for fslc-x11 python code generation still fails, e.g.: | File ".../imx-gpu-apitrace/7.1.0-r0/git/wrappers/glxtrace.py", line 70 | print ' if(_glXGetCurrentDisplay == &glXGetCurrentDisplay ){' Convert python2 print statements to python3. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-gpu-apitrace: update recipe to use python3Andrey Zhizhikin2020-01-235-2/+10519
| | | | | | | | | | | Add component patches to be able to build it with python3. Python2 has been dropped in oe-core, therefore the package source should be updated to include python3 support. Patches were cherry-picked from the upstream at [https://github.com/apitrace/apitrace] from the [python3] branch. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-gpu-apitrace: Update to 09579e67Mihai Lindner2019-12-161-1/+1
| | | | Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* imx-gpu-apitrace: UpdateTom Hochstein2019-09-121-1/+1
| | | | | | | | | | | | | 013499c6 wrappers/egltrace: drop the hardcoded library path 0697c15a gltrace: avoid recursion caused by viv extensions 5b56f5a5 specs/glapi: consistent signatures for viv extensions f6e1a557 glext.h: declare the viv extensions 4cb5ad01 retrace,cmake: link with vivante when using waffle 95ba8bd3 retrace,cmake: look for libwaffle in waffle_library_dirs ca7f1071 retrace,waffle: set wayland as default WAFFLE_PLATFORM 6ea46b12 retrace,waffle: use waffle error reporting api Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Fix x11 configurationTom Hochstein2019-02-271-1/+1
| | | | | | | The x11 configuration variable changed from DISABLE_X11 to ENABLE_X11. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Simplify COMPATIBLE_MACHINETom Hochstein2019-02-131-1/+1
| | | | | | | Package is valid for all i.MX with GPU. This extends compatibility today to i.MX 8QM, 8QXP, and 8M Mini. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Minor updateTom Hochstein2019-02-131-1/+1
| | | | | | | 438c29f cmake: cherry-pick upstream ENABLE_X11 6d9c8a5 Revert "cmake: Allow user to disable x11 support" Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: add i.MX8MQ supportGary Bisson2018-07-111-7/+20
| | | | | | | | This is pretty much a copy of the recipe from meta-fsl-bsp-release. The particularity of the i.MX8MQ is that it doesn't include a GPU2D and therefore depending on virtual/libg2d isn't possible. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
* imx-gpu-apitrace: Bump revision to 9281b2c2Fabio Berton2018-06-261-1/+2
| | | | | | | | | | - Add O.S. Systems Software Copyright This includes the following change: - 9281b2c2 MGS-3379 [#ccc] Add more support for multilib Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* imx-gpu-apitrace: Move apitrace out of imx-gpu-viv v6Tom Hochstein2018-03-151-0/+23
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>