summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* imx-gpu-viv: Fix GLESv1 packagingJoshua Watt2019-09-041-5/+7
| | | | | | | | | | The GLESv1 library was being packaged with the name "libgles" instead of the canonical "libglesv1". The latter is the name that recipes used when RDEPENDing on GLESv1. Correct this so that the package is correctly named "libglesv1", but RPROVIDES the old "libgles" name in case there are recipes still depending on it. Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
* imx-gpu-viv: RPROVIDE virtual/libgbmJoshua Watt2019-09-041-1/+1
| | | | | | Adds the virtual runtime provider for libgbm Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
* mesa: switch mesa to swrast renderer for mx8mm machine, resolve build issueAndrey Zhizhikin2019-08-231-0/+13
| | | | | | | | | | | | | | | After mesa update to 19.1.0, the OSMesa is not anymore explicitly set to 'classic' rather than defaults to 'none'. If the DRI driver is included in the build and neither gl nor 'classic' osmesa is used - this causes the build to fail. This commit disables the gallium for mx8mm, sets the dri drivers to swrast and explicitly defines the 'classic' osmesa to be built. gallium is disabled since current support state of i.MX8M Mini GPU in gallium is unknown. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* recipes: Use BPN instead of PN in SRC_URIsAndrey Zhizhikin2019-08-231-1/+1
| | | | | | Fix QA issue: SRC_URI uses PN not BPN [src-uri-bad] Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* xf86-video-fbdev: Delete 0.4.2 version hereKhem Raj2019-08-061-11/+0
| | | | | | This is already in OE-core and a newer version Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xserver-xorg: Fix X server 1.20.1 crash [YOCIMX-3280]Neena Busireddy2019-06-242-0/+50
| | | | | | | | | | | | | One of our patches which we upstreamed has been removed from the poky thud. http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-graphics/xorg-xserver?h=thud&id=9d2cbf041403f5012b251de6c2dc0683755398ed Add the patch back to fix the crash. Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com> Backport from https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/commit/imx/meta-bsp/recipes-graphics/xorg-xserver?h=thud-4.19.35-1.0.0&id=7b9dbcf65929446ddbd5c8245617a624eb30b9ff Limit the patch to machines which use xf86-video-imx-vivante. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* wayland-protocols-imx: Upgrade to version 1.17Carlos Rafael Giani2019-05-253-10/+12
| | | | | | This is needed for GStreamer 1.16 Wayland support Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* libdrm: prevent warning on mx8Max Krummenacher2019-05-052-35/+0
| | | | | | | | | | | | | i.MX8 also uses the override imxgpu2d, so provide the patch for that override, not individual SoC Archs. Prevents: | .../meta/recipes-graphics/drm/libdrm_2.4.94.bb: Unable to get checksum for libdrm SRC_URI entry drm-update-arm.patch: file could not be found Note that __arm__ is not defined in aarch64 gcc, so applying the patch has no effect. Should it be needed one would have to rework to patch to also provide assembler code for aarch64 in an appropriate #ifdef section. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* Merge pull request #69 from IniterWorker/masterOtavio Salvador2019-04-021-3/+3
|\ | | | | [master] white-space compliant append
| * white-space compliante in DEPENDSWalter Bonetti2019-03-211-3/+3
| |
* | mesa: Use kmsro,vc4 only for armv7a and armv7veFabio Berton2019-04-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using etnaviv,kmsro,vc4 as GALLIUMDRIVERS with imx25pdk machine fails with error: ----- / | {standard input}: Assembler messages: | {standard input}:252: Error: selected processor does not support `vldm ip,{q0,q1,q2,q3}' in ARM mode | {standard input}:253: Error: selected processor does not support `vst1.8 d0,[lr],r8' in ARM mode | {standard input}:254: Error: selected processor does not support `vst1.8 d1,[r3],r8' in ARM mode | {standard input}:255: Error: selected processor does not support `vst1.8 d2,[lr],r8' in ARM mode | {standard input}:256: Error: selected processor does not support `vst1.8 d3,[r3],r8' in ARM mode | {standard input}:257: Error: selected processor does not support `vst1.8 d4,[lr],r8' in ARM mode | {standard input}:258: Error: selected processor does not support `vst1.8 d5,[r3],r8' in ARM mode | {standard input}:259: Error: selected processor does not support `vst1.8 d6,[lr]' in ARM mode | {standard input}:260: Error: selected processor does not support `vst1.8 d7,[r3]' in ARM mode | {standard input}:476: Error: selected processor does not support `vldm ip,{q0,q1,q2,q3}' in ARM mode | {standard input}:477: Error: selected processor does not support `vst1.8 d0,[lr],r8' in ARM mode | {standard input}:478: Error: selected processor does not support `vst1.8 d1,[r3],r8' in ARM mode | {standard input}:479: Error: selected processor does not support `vst1.8 d2,[lr],r8' in ARM mode | {standard input}:480: Error: selected processor does not support `vst1.8 d3,[r3],r8' in ARM mode | {standard input}:481: Error: selected processor does not support `vst1.8 d4,[lr],r8' in ARM mode | {standard input}:482: Error: selected processor does not support `vst1.8 d5,[r3],r8' in ARM mode | {standard input}:483: Error: selected processor does not support `vst1.8 d6,[lr]' in ARM mode | {standard input}:484: Error: selected processor does not support `vst1.8 d7,[r3]' in ARM mode | {standard input}:659: Error: selected processor does not support `vldm r5,{q0,q1,q2,q3}' in ARM mode \____ Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* | mesa: Replace imx with kmsro and vc4 in GALLIUMDRIVERSFabio Berton2019-03-271-1/+1
|/ | | | | | | | | | | | | | | | | mesa 19.0.0 remove imx from gallium drivers and add kmsro, vc4 is a kmsro dependency, so we need to enable too. mesa commit 41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2 Author: Rob Herring <robh@kernel.org> Date: Thu Jan 24 14:03:54 2019 -0600 Switch imx to kmsro and remove the imx winsys The kmsro winsys is equivalent to the imx winsys, so we can switch to it and remove the imx one. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* 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>
* remove True option to getVar callsAndré Draszik2019-01-172-3/+3
| | | | | | | | | | | | | | getVar() has been defaulting to expanding by default for a long time (2016), thus remove the True option from getVar() calls with a regex search and replace. Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com>
* libdrm: Add nobranch optionSebastien Bourdelin2018-12-131-1/+1
| | | | | | | | | | The codeaurora repository doesn't provide a remote HEAD, which cause an issue when bitbake try to verify the SHA1 of the commit id. The nobranch option allow to bypass this behaviour and correctly checkout the commit id. Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libsdl2: Add CFLAGS for non-X11 builds with Vivante EGL headersCarlos Rafael Giani2018-11-081-0/+5
| | | | | | | | Without these, the Vivante EGL headers will try to include X11 headers, causing the build to break. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Avoid parsing for non-i.MX machinesOtavio Salvador2018-11-081-0/+3
| | | | | | | | | | | | Fixes: ,---- | meta-freescale/recipes-graphics/wayland/weston_4.0.0.imx.bb: Unable to | get checksum for weston SRC_URI entry weston.ini: file could not be | found `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-xorg: Disable glamor for i.MX 8Tom Hochstein2018-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | Like i.MX 6 and 7, need to disable glamor for i.MX 8 to avoid a build break: In file included from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:179, from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/epoxy/egl_generated.h:11, from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/epoxy/egl.h:46, from ../../xorg-server-1.20.1/glamor/glamor_priv.h:43, from ../../xorg-server-1.20.1/glamor/glamor_composite_glyphs.c:25: /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/EGL/eglvivante.h:267:1: error: conflicting types for 'fbCreateWindow' fbCreateWindow( ^~~~~~~~~~~~~~ In file included from ../../xorg-server-1.20.1/glamor/glamor.h:36, from ../../xorg-server-1.20.1/glamor/glamor_priv.h:32, from ../../xorg-server-1.20.1/glamor/glamor_composite_glyphs.c:25: ../../xorg-server-1.20.1/fb/fb.h:1115:2: note: previous declaration of 'fbCreateWindow' was here fbCreateWindow(WindowPtr pWin); ^~~~~~~~~~~~~~ Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: Remove xf86drm.h patch in all casesTom Hochstein2018-11-021-1/+1
| | | | | | The xf86drm.h patch is in the i.MX fork. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Cleanup redundant opencl PROVIDES settingsTom Hochstein2018-11-021-6/+0
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>