summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* libdrm-armada: Allow usage with use-mainline-bspFabio Berton2020-05-111-1/+1
| | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* xf86-video-armada: Allow usage with use-mainline-bspFabio Berton2020-05-111-1/+1
| | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* weston: Restore partial clients for i.MX 6 and 7Tom Hochstein2020-05-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* mesa: Remove 'vc4' from PACKAGECONFIG for mainline BSPOtavio Salvador2020-05-011-1/+1
| | | | | | | | 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
* mesa: Simplify PACKAGECONFIG for mainline BSPOtavio Salvador2020-05-011-4/+1
| | | | | | | The mainline BSP can use same settings for all SoCs reducing the complexity. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-xf86-config: Fix xorg.conf for 6ULLTom Hochstein2020-04-291-0/+12
| | | | | | | 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>
* weston: Cleanup FILES for no longer used folderTom Hochstein2020-04-291-2/+0
| | | | | | | ${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>
* weston: Fix build error for opengl typoTom Hochstein2020-04-291-1/+1
| | | | | | | | There was an extra hyphen on the command line: meson: error: unrecognized arguments: --Dopengl=false Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Fix non-GBM build error for i.MX 6 & 7Tom Hochstein2020-04-291-1/+1
| | | | | | | | | | | | 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>
* weston: Restructure recipe for ease of maintananceTom Hochstein2020-04-291-31/+60
| | | | | | | | 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>
* weston: Align 8.0.0.imx recipe with 8.0.0Tom Hochstein2020-04-291-3/+5
| | | | | | | Update license file data and move i.MX customizations to unique lines for simpler diff. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* waffle: Fix x11 build without GBM supportTom Hochstein2020-04-242-0/+47
| | | | | | | | | | | | | | | | | | | 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>
* waffle: Add missing dependency on EGLTom Hochstein2020-04-242-0/+55
| | | | | | | | | | | | | | | | | | | 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>
* waffle: Disable GBM support for i.MX 6 and 7 GPUTom Hochstein2020-04-241-5/+9
| | | | | | GBM is not available on i.MX 6 and 7 GPU, so disable support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.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-dpu-g2d: Upgrade to 1.8.3Tom Hochstein2020-04-201-3/+3
| | | | | | | | | | 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>
* weston: upgrade recipe to version 8.0.0 from NXPAndrey Zhizhikin2020-04-164-202/+112
| | | | | | | | | | | | | 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>
* wayland-protocols: upgrade to 1.18 from NXPAndrey Zhizhikin2020-04-161-2/+2
| | | | Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-gpu-g2d: update to 6.4.0.p2.0Andrey Zhizhikin2020-04-161-5/+5
| | | | | | | | | | 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>
* libdrm-imx: update component to lf-5.4.yAndrey Zhizhikin2020-04-161-1/+1
| | | | | | | | 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>
* imx-gpu-viv: Remove invalid insane skipsTom Hochstein2020-04-161-4/+0
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Add missing package libnn-imx-devTom Hochstein2020-04-161-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: CleanupTom Hochstein2020-04-161-5/+3
| | | | | | Clean some file name redundancies and changes. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Enable valgrind annotations for libgalTom Hochstein2020-04-161-0/+1
| | | | | | | Suggest valgrind runtime for libgal, which has enabled annotations. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Remove OpenVX support for 8M MiniTom Hochstein2020-04-161-1/+4
| | | | | | | 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>
* imx-gpu-viv: Add gl31.h to i.MX 8M Nano installTom Hochstein2020-04-161-1/+2
| | | | | | | | 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>
* imx-gpu-viv: OpenGL is not provided for framebufferTom Hochstein2020-04-161-9/+9
| | | | | | The GPU drivers have never provided OpenGL for framebuffer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Upgrade to 6.4.0.p2.0Tom Hochstein2020-04-164-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* 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>
* weston-init.bbappend: Fix missing space in variable assignmentTom Hochstein2020-03-031-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* mesa: Allow to use Etnaviv with i.MX8Frieder Schrempf2020-02-151-10/+10
| | | | | | | | | | | | 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>
* mesa: Use PACKAGECONFIG to enable Gallium driversFrieder Schrempf2020-02-151-2/+2
| | | | | | | | 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>
* wayland-protocols: Switch to i.MX fork for sourceTom Hochstein2020-02-124-389/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.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>
* libdrm imx: fix building libdrm-vivanteMax Krummenacher2020-01-092-2/+145
| | | | | | | | | | | 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>
* weston-init: use g2d for i.MX8M Nano SoCAndrey Zhizhikin2020-01-081-0/+3
| | | | | | Use 2D acceleration for i.MX8M Nano SoC. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* xf86-video-imx-vivante: fix compile by updating to 6.4.0Max Krummenacher2020-01-081-1/+1
| | | | | | | | | | | | | | | | 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>
* mesa: Fix glcorearb.h collision with imx-gpu-vivMihai Lindner2019-12-231-0/+1
| | | | | | | | 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>
* imx-gpu-viv: Upgrade to 6.4.0.p1.0Mihai Lindner2019-12-234-15/+28
| | | | Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* weston: refresh patch files to resolve hunksAndrey Zhizhikin2019-12-223-27/+28
| | | | | | | 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>
* imx-gpu-g2d: Upgrade to 6.4.0.p1.0Mihai Lindner2019-12-161-5/+5
| | | | Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* imx-gpu-apitrace: Update to 09579e67Mihai Lindner2019-12-161-1/+1
| | | | Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* imx-dpu-g2d: Upgrade to 1.8.2Mihai Lindner2019-12-161-3/+3
| | | | Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* libdrm: Upgrade to 2.4.99.imxMihai Lindner2019-12-167-165/+62
| | | | | | Refresh recipe base from poky, drops patches no longer used. Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* weston: Upgrade to 6.0.1.imxMihai Lindner2019-12-161-2/+3
| | | | Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* recipes: Use features_check instead of distro_features_checkKhem Raj2019-11-232-2/+2
| | | | | | distro_features_check is now deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston-init: Keep the logic to edit weston.ini to meta-freescaleKhem Raj2019-11-191-1/+1
| | | | | | | | | | | | | | This logic does not work across multiple layers even OE-Core machines dont build with it. For now its best to keep this confined to meta-freescale machines Idea is good but it needs to align with OE-core's methods where currently in OE-Core we expect machines to override weston.ini completely per machine, this logic sort of goes against it. However it has some goodness to it, eg. adding options based on DISTRO_FEATURES which OE-Core could have too but maybe implemented differently. Signed-off-by: Khem Raj <raj.khem@gmail.com>