summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* weston: Move xwayland config to weston.iniTom Hochstein2019-11-185-18/+9
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Replace copies of weston.ini with logicTom Hochstein2019-11-184-75/+25
| | | | | | | Install a common base weston.ini and then customize it in the recipe by specifying custom options. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Use G2D as default renderer for 7ULPTom Hochstein2019-11-181-0/+25
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Move use-g2d option for 8M Mini to weston.iniTom Hochstein2019-11-182-1/+26
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Move weston.ini install to weston-initTom Hochstein2019-11-185-66/+50
| | | | | | | | | | | | | OE-core now installs weston.ini from weston-init, so align our recipe to do the same. The IVI dynamic layer now has a copy of the weston.ini file that is normally produced by the weston build. The AGL dynamic layer now uninstalls the weston.ini installed upstream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Improve weston.ini selection logicTom Hochstein2019-11-041-7/+5
| | | | | | | | | | | | Add a variable WESTON_INI_INSTALL_FILE to make it easy to customize the selection of the weston.ini file. The main recipe now performs only a generic install of the selected file. For AGL and IVI, we use the BBFILES_DYNAMIC mechanism to specify no file and an IVI-specific file respectively. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: fix the test condition for agl buildsAndrey Zhizhikin2019-11-011-1/+1
| | | | | | | | | | | | | | | | Fix the variable test condition, wich is used during inclusion of weston.ini file in the agl and non-agl builds. Since for non-agl build there is no algprofilegraphics in the collection, variable expands to an empty string and test condition evaluates to true for both agl and non-agl builds. This causes the weston.ini file to be installed regardless of whether the agl is found or not. Usage of a different condition check (lenght instead of empty) eliminates this issue. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* xserver-xorg: Fix missing space in SRC_URI_append assignmentTom Hochstein2019-10-091-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* mesa-demos: Remove workaround now that eglut_wayland event loop is fixedTom Hochstein2019-10-092-29/+0
| | | | | | | | | The eglut_wayland event loop is properly fixed, so the simple workaround patch is no longer necessary. https://gitlab.freedesktop.org/mesa/demos/commit/c539078c5fa592134f6f8a95be51c8eb318f5c39 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: fix build with libvulkanMax Krummenacher2019-10-091-9/+7
| | | | | | | | | | | | | | | | | | | | | | | vulkan-loader and imx-gpu-viv both provide a libvulkan.so with the same soname. (The vulkan-loader provides the vulkan-loader while imx-gpu-viv provides the instalable client driver for the Vivante GPU). readelf -a .../recipe-sysroot/usr/lib/libvulkan.so | grep soname 0x000000000000000e (SONAME) Library soname: [libvulkan.so.1] readelf -a .../recipe-sysroot/usr/lib/vulkan/libvulkan_VSI.so | grep soname 0x000000000000000e (SONAME) Library soname: [libvulkan.so.1] This leads to the following build error. | # ERROR: gstreamer1.0-plugins-bad-1.14.imx-r0 do_package: gstreamer1.0-plugins-bad-vulkan: Multiple shlib providers for libvulkan.so.1: libvulkan-imx, vulkan-loader (used by files: ...libgstvulkan.so) | # ERROR: gstreamer1.0-plugins-bad-1.14.imx-r0 do_package_qa: QA Issue: /usr/lib/gstreamer-1.0/libgstvulkan.so contained in package gstreamer1.0-plugins-bad-vulkan requires libvulkan.so.1()(64bit), but no providers found in RDEPENDS_gstreamer1.0-plugins-bad-vulkan? [filed] Fix this by changing the soname of the Vivante provided libvulkan. With this change we can drop the /usr/lib/vulkan install directory and install directly in /usr/lib/. This additionally allows to reenable QA warnings for the libvulkan-imx package. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* weston-init: Adjust to match recent oe-core changesKhem Raj2019-09-212-43/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Enable Freedreno when using mainline BSPOtavio Salvador2019-09-201-3/+3
| | | | | | | | The Freedreno allows the i.MX53 SoC to run using the mesa as rendering, thus providing GPU support. Change-Id: I9bf08503f8c6020d50a2395fc27b15cb797cbba6 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv-6: follow split of vulkanMax Krummenacher2019-09-141-1/+1
| | | | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* xf86-video-imx-vivante: update PN to 6.2.4.p4.0Max Krummenacher2019-09-141-0/+0
| | | | | | | | Note that the xorg driver was not changed in the update from 6.2.4.p1.8 to 6.2.4.p4.0. This rename aims to keep the PN across the vivante components consistent. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* wayland-protocols_1.17.imx: add missing DTRC meta protocolPeter Griffin2019-09-122-1/+52
| | | | | | | | | | | Add missing protocol from wayland-protocols-imx fork. This is required to use waylandsink from gst-plugins-bad-imx fork. This protocol supports passing pass offset to DTRC in drm DCSS driver to enable video tile compress. Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
* imx-dpu-g2d: CleanupTom Hochstein2019-09-121-13/+6
| | | | | | | | - Fix order - Fix SRC_URI warning to use BPN, not PN - Remove redundant setting of S Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* waffle: Configure wayland supportTom Hochstein2019-09-121-1/+1
| | | | | | Add the wayland package config if wayland is a distro feature. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* mesa-gl: Fix GPU compatibility using imxgpu overrideTom Hochstein2019-09-121-1/+1
| | | | | | | The override imxgpu was added some time ago since it is possible to have 3D support without 2D support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* mesa-demos: Improve variable namesTom Hochstein2019-09-121-9/+14
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Fix video blurring for i.MX 6SL on WaylandTom Hochstein2019-09-121-0/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Add support for AGL and IVITom Hochstein2019-09-121-1/+8
| | | | | | | - For AGL, don't install weston.ini - For IVI, do install the IVI-shell version of weston.ini Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Enable touchscreen calibratorTom Hochstein2019-09-123-3/+34
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Drop weston.ini files since the baseline version is now in sourceTom Hochstein2019-09-127-47/+58
| | | | | | | | | | The customized baseline version of weston.ini is now in the source. That version is customized for 8MQ via patch files. Also drop desktop shell size from weston.config since it is already in weston.ini for 8M and 8M Mini. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Upgrade to 5.0.0.imxTom Hochstein2019-09-124-55/+21
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@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>
* libdrm: UpdateTom Hochstein2019-09-121-1/+1
| | | | | | | | | 95645843 headers: Sync with drm-next 49cca25f MA-13450 Switch layer memory allocation to virtual pool to improve performance. 8edffe33 MA-13354 Fix imx_drm head file license issue for libdrm-imx. e1658ff7 MA-13122 Add DRM_VIV_GEM_CMA_LIMIT support for TS buffer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-dpu-g2d: Upgrade to 1.7.0Tom Hochstein2019-09-121-4/+4
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-g2d: Upgrade to 6.2.4.p4.0Tom Hochstein2019-09-121-7/+5
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Fix OpenCL and Vulkan packagingTom Hochstein2019-09-121-1/+2
| | | | | | | - Place libSPIRV_viv.so in libvulkan-imx package - Place libLLVM_viv.so in libopencl-imx package Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Fix i.MX 8 and 8X binary compatibilityTom Hochstein2019-09-121-1/+1
| | | | | | | | | | | | | | The removal of gl32.h for 8QXP can cause build breaks in a multi-machine build folder like the following: | .../build/tmp/work/imx8qxpmek-poky-linux/gstreamer1.0-plugins-good-qt/1.14.4.imx-r0/recipe-sysroot/usr/include/QtGui/qopengl.h:105:13: fatal error: GLES3/gl32.h: No such file or directory | # include <GLES3/gl32.h> To make the ABI safe for 8 and 8X, which have a shared PACKAGE_ARCH, provide gl32.h in both cases. The lack of support can then be handled by a runtime error. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Upgrade to 6.2.4.p4.0Tom Hochstein2019-09-124-11/+11
| | | | | | | | See changelog: https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-sumo Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
* mesa_%.bbappend: enable for all imx8 SoCsPeter Griffin2019-09-101-3/+3
| | | | | | | This allows a Weston build with swrast enabled to successfully build and boot on imx8m-evk board. Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
* eglinfo: Drop bbappendsKhem Raj2019-09-043-38/+0
| | | | | | oe-core remved it in master/aa36510ebe Signed-off-by: Khem Raj <raj.khem@gmail.com>