aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-apitrace
AgeCommit message (Collapse)Author
10 daysimx-gpu-apitrace: Add support for i.MX 95Tom Hochstein
Align with NXP BSP 6.6.3-1.0.0. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-05-17imx-gpu-apitrace: Update to commit 522cb29Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-02-08layer: Use github for i.MX sourceTom Hochstein
The NXP repos are moving to github. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-01-11imx-gpu-apitrace: Sync options with recipe from meta-oeKhem Raj
Reset SECURITY_CFLAGS when using clang to fix build Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-21Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador
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>
2022-01-29imx-gpu-apitrace: Upgrade to 10.0.0Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-02imx-gpu-apitrace: enable back for glibc >= 2.34Andrey Zhizhikin
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>
2021-08-18imx-gpu-apitrace: exclude from builds with glibc 2.34+Andrey Zhizhikin
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
2021-08-12layer: Convert to new override syntaxKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-16imx-gpu-apitrace: Upgrade for eglretrace supportTom Hochstein
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>
2020-09-23imx-gpu-apitrace: fix the upgrade after rebase to 9.0.0Andrey Zhizhikin
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>
2020-04-24imx-gpu-apitrace: Enable egl and waffleTom Hochstein
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>
2020-04-24imx-gpu-apitrace: Add config options for EGL and GUITom Hochstein
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>
2020-04-24imx-gpu-apitrace: Don't package binaries separatelyTom Hochstein
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>
2020-04-24imx-gpu-apitrace: Rebase fork on 9.0.0Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-03-30imx-gpu-apitrace: x11: make python3 compatibleMax Krummenacher
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>
2020-01-23imx-gpu-apitrace: update recipe to use python3Andrey Zhizhikin
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>
2019-12-16imx-gpu-apitrace: Update to 09579e67Mihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-09-12imx-gpu-apitrace: UpdateTom Hochstein
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>
2019-02-27imx-gpu-apitrace: Fix x11 configurationTom Hochstein
The x11 configuration variable changed from DISABLE_X11 to ENABLE_X11. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-02-13imx-gpu-apitrace: Simplify COMPATIBLE_MACHINETom Hochstein
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>
2019-02-13imx-gpu-apitrace: Minor updateTom Hochstein
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>
2018-07-11imx-gpu-apitrace: add i.MX8MQ supportGary Bisson
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>
2018-06-26imx-gpu-apitrace: Bump revision to 9281b2c2Fabio Berton
- 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>
2018-03-15imx-gpu-apitrace: Move apitrace out of imx-gpu-viv v6Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>