aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2020-06-08waffle: fix patch fuzz QA warningAndrey Zhizhikin
Fix patch fuzz QA warning reported by build, use devtool to correct patches. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-11libdrm-armada: Allow usage with use-mainline-bspFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11xf86-video-armada: Allow usage with use-mainline-bspFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-05weston: Restore partial clients for i.MX 6 and 7Tom Hochstein
The clients configuration for fbdev was recently removed from meta-freescale [1] because of the following error: ``` | Run-time dependency gbm found: NO (tried pkgconfig and cmake) | | clients/meson.build:134:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires gbm which was not found. If you rather not build this, drop "dmabuf-egl" from simple-clients option. ``` [1] eda44e49618610c13ebe4c026cd4981b404a1543 It was also removed for non-Wayland from OE-core [2] because of the following error in the same client dmabuf-egl: ``` clients/meson.build:141:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires option renderer-gl which is not enabled. If you rather not build this, drop "dmabuf-egl" from simple-clients option. ``` [2] 9b1d30810eeecb46b977c8eed68be69aef891312 Restore the working subset of clients. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-05-01mesa: Remove 'vc4' from PACKAGECONFIG for mainline BSPOtavio Salvador
The SoCs supported by meta-freescale does not use vc4 and then we can drop it from the features. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: I2b8e04c54644315401315c442a5e2cec8624c3f3
2020-05-01mesa: Simplify PACKAGECONFIG for mainline BSPOtavio Salvador
The mainline BSP can use same settings for all SoCs reducing the complexity. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-29xserver-xf86-config: Fix xorg.conf for 6ULLTom Hochstein
The 6ULL does not have a hardware-accelerated framebuffer device, so switch to the kernel framebuffer device. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-29weston: Cleanup FILES for no longer used folderTom Hochstein
${sysconfdir}/xdg/weston was used to install weston.ini, but that functionality has moved to weston-init. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-29weston: Fix build error for opengl typoTom Hochstein
There was an extra hyphen on the command line: meson: error: unrecognized arguments: --Dopengl=false Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-29weston: Fix non-GBM build error for i.MX 6 & 7Tom Hochstein
i.MX 6 and 7 doesn't support GBM, required by weston-simple-dmabuf-egl: | Run-time dependency gbm found: NO (tried pkgconfig and cmake) | | clients/meson.build:134:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires gbm which was not found. If you rather not build this, drop "dmabuf-egl" from simple-clients option. Remove the clients for i.MX 6 and 7. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-29weston: Restructure recipe for ease of maintananceTom Hochstein
Structure the recipe into two sections, the top as a verbatim copy of the upstream recipe that is the basis, and the bottom for the i.MX customization. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-29weston: Align 8.0.0.imx recipe with 8.0.0Tom Hochstein
Update license file data and move i.MX customizations to unique lines for simpler diff. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24waffle: Fix x11 build without GBM supportTom Hochstein
For i.MX 6 and 7, building x11_egl failed with the following: ``` In file included from ../waffle-1.6.0/src/waffle/surfaceless_egl/sl_window.c:35: ../waffle-1.6.0/src/waffle/surfaceless_egl/sl_platform.h:30:10: fatal error: gbm.h: No such file or directory 30 | #include <gbm.h> | ^~~~~~~ ``` The failure is not surprising since i.MX 6 and 7 don't support GBM. What is surprising is surfaceless_egl is built even if it is disabled. The meson dependency for surfaceless_egl was incorrectly tied to x11_egl, so fix that, plus add a dependency on GBM. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24waffle: Add missing dependency on EGLTom Hochstein
For Wayland builds without XWayland support, the following build break was happening: In file included from /home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/egl.h:39, from ../waffle-1.6.0/src/waffle/egl/wegl_context.h:31, from ../waffle-1.6.0/src/waffle/egl/wegl_util.c:28: /home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:144:10: fatal error: X11/Xlib.h: No such file or directory 144 | #include <X11/Xlib.h> | ^~~~~~~~~~~~ compilation terminated. This happens because the egl.pc configuration is missing. Fix the mising dependency. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24waffle: Disable GBM support for i.MX 6 and 7 GPUTom Hochstein
GBM is not available on i.MX 6 and 7 GPU, so disable support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.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-04-20imx-dpu-g2d: Upgrade to 1.8.3Tom Hochstein
c27d26b MGS-5479 remove g2d_multiblit_test 9730281 MGS-5435 [QNX] G2D - child and parent window can not rotate correctly 73354dc MGS-5103 add YUV mode for BT.601 and BT.709 43ff464 MA-16215 Avoid change input parameter value in g2d_blitEx 807cf04 MGS-5403 enable G2D tile-status feature Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16weston: upgrade recipe to version 8.0.0 from NXPAndrey Zhizhikin
Upgrade weston recipe version 6.0.1 -> 8.0.0 with following modifications performed: - Transition build system to meson, replace autotools references with meson options; - Align recipe with the latest version from oe-core, include all configuration changes done upstream into this recipe; - Drop patches applied upstream and those related to autotools; Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16wayland-protocols: upgrade to 1.18 from NXPAndrey Zhizhikin
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16imx-gpu-g2d: update to 6.4.0.p2.0Andrey Zhizhikin
Update recipe to p2 stepping to include support for kernel 5.4.3 from NXP. Updated component use V10 of NXP EULA, therefore license md5 has been modified to match the version. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16libdrm-imx: update component to lf-5.4.yAndrey Zhizhikin
This update includes one commit, which introduced the support for NV12_10LE40 format together with new HDR10 metadata required for kernel 5.4 update. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16imx-gpu-viv: Remove invalid insane skipsTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Add missing package libnn-imx-devTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: CleanupTom Hochstein
Clean some file name redundancies and changes. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Enable valgrind annotations for libgalTom Hochstein
Suggest valgrind runtime for libgal, which has enabled annotations. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Remove OpenVX support for 8M MiniTom Hochstein
i.MX 8M Mini doesn't support OpenVX, so remove it from the recipe in this case. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Add gl31.h to i.MX 8M Nano installTom Hochstein
i.MX 8M Nano supports OpenGL ES 3.1. In fact, all 8M support it except for 8M Mini, so use that in the logic. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: OpenGL is not provided for framebufferTom Hochstein
The GPU drivers have never provided OpenGL for framebuffer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Upgrade to 6.4.0.p2.0Tom Hochstein
Key Features of the Vivante 6.x Driver Series - Full support for Khronos OpenGL ES 3.2 API. The new OpenGL ES 3.2 and OpenGL ES Shading Language 3.20 specifications bring AEP, plus additional functionality, into core OpenGL ES. Vivante OpenGL ES 3.2 implementation has passed Khronos OpenGL ES 3.2 Conformance Test. And Vivante GC7000XS* GPU core has been certified by Khronos as an OpenGL ES 3.2 compliant product. - Backward Compatible with 5.x and 4.x Drivers. Existing OpenGL ES 3.x/2.0 applications can run on these drivers without any changes. 6.4.0 P2 GA ====================== Key Features: - Vulkan 1.1 - OpenVX 1.2 - OpenCL and OpenVX bridged support. - GPU accelerated ML support - Upgrade to weston 7.0 - OpenCV 4.0.1 - Chromium v74 - Support for renderdoc 1.2 - vProfiler/vAnalyser through new Vivante IDE - Support for Android 10 - Support for TFlite 1.3 - NNCTS 1.2 - Optimize command buffer size, so the memory usage per context will be lower Known Issues : LF-308 wl_display_connect Failure reported during VPU and GPU stress power management test. LF-868 [MX6SX-SDB]GPU: weston stopped abnormally during stress suspend resume test. LF-459 [8QM] GPU/xwld:Vulkan sdk demo 'ObjectSelection' flicker on display. LF-178 GPU/XWLD: some tests failed in OpenCV performance test. LF-262 GPU:Some qt5 demos not work. QT5.3 have regressions. Require qt3d update in QT5.4 and later LF-836 GPU/XWLD: met version mismatch when using renderdoc remote test LF-861 some tests failed in OpenCV stress test. LF-423 ML/AI:Some dnn_vxc cases showed out-of-range recognition rates. LF-844 [6QP_SD] GPU/FB: Bloom_FB cannot be killed by ctrl c randomly. LF-1109 [8QM] GPU/Vivante IDE tool: vpd file of OpenVX import failed to VSI IDE LF-1110 [8QM] GPU/Vivante IDE tool: some binary of sample project cannot work after building successfuly in vCompiler test LF-936 [MX8MQ/MM/MN]GPU:no desktop UI and weston@root.service load fail after run low bus freq test.100% LF-88 [8QXP_MEK/8QM/8MM_EVK] GPU/XWLD: apitrace tool can not work properly See also: https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-zeus 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-03-03weston-init.bbappend: Fix missing space in variable assignmentTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-02-15mesa: Allow to use Etnaviv with i.MX8Frieder Schrempf
Currently the settings for i.MX8 are fixed to only allow to use OSMesa for offscreen rendering. Actually etnaviv is usable on i.MX8MM an it should therefore be possible to let Gallium be enabled instead of unconditionally disabling it. Therefore we introduce the USE_OSMESA_ONLY variable, that can be set to "no" for i.MX8 if etnaviv should be used just like for i.MX6. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
2020-02-15mesa: Use PACKAGECONFIG to enable Gallium driversFrieder Schrempf
We don't need to manipulate the GALLIUMDRIVERS variable. Setting the correct PACKAGECONFIG options is enough as the main recipe handles the rest. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
2020-02-12wayland-protocols: Switch to i.MX fork for sourceTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.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>
2020-01-09libdrm imx: fix building libdrm-vivanteMax Krummenacher
The recipe updates pulled in from upstream now builds with meson but the libdrm imx fork does not provide meson build information. Patch the imx fork to get the ability to build with meson. Change the recipe to actually configure libdrm-vivante and to deploy it into its own package. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-08weston-init: use g2d for i.MX8M Nano SoCAndrey Zhizhikin
Use 2D acceleration for i.MX8M Nano SoC. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-01-08xf86-video-imx-vivante: fix compile by updating to 6.4.0Max Krummenacher
Using the current HEAD fixes the following compile error: | vivante_gal/vivante_gal_surface.c:493:38: error: 'gcvPOOL_CONTIGUOUS' undeclared (first use in this function); did you mean 'gcvSURF_CONTIGUOUS'? | 493 | surf->mVideoNode.mPool = gcvPOOL_CONTIGUOUS; | | ^~~~~~~~~~~~~~~~~~ meta-fsl-bsp-release sets version to 6.4.0.p0.0 for this git hash, follow that here. Changelog: MGS-4783 [#ccc] Integrate EXA patches for 6.4.0 beta Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-23mesa: Fix glcorearb.h collision with imx-gpu-vivMihai Lindner
Fix ERROR: The file /usr/include/GL/glcorearb.h is installed by both mesa and imx-gpu-viv, aborting. Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-23imx-gpu-viv: Upgrade to 6.4.0.p1.0Mihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-22weston: refresh patch files to resolve hunksAndrey Zhizhikin
Refresh patches in this layer so they could be cleanly applied, this has been done via devtool. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2019-12-16imx-gpu-g2d: Upgrade to 6.4.0.p1.0Mihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-16imx-gpu-apitrace: Update to 09579e67Mihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-16imx-dpu-g2d: Upgrade to 1.8.2Mihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-16libdrm: Upgrade to 2.4.99.imxMihai Lindner
Refresh recipe base from poky, drops patches no longer used. Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-16weston: Upgrade to 6.0.1.imxMihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-11-23recipes: Use features_check instead of distro_features_checkKhem Raj
distro_features_check is now deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com>