aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2022-01-15libsdl2: follow oe-core's move to cmakeMax Krummenacher
openembedded-core commit c00f79c2f1 ("libsdl2: Move to CMake build") moved the recipe to CMake. Follow this in this bbappend. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-01Merge pull request #907 from thochstein/masterOtavio Salvador
imx-gpu-viv updates for 6.4.3.p2.2
2021-10-31imx-gpu-viv: Expose Vulkan library versionTom Hochstein
Expose the Vulkan library version so NXP can easily override in their layer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-10-31imx-gpu-viv: Install SOC-specific binariesTom Hochstein
The archive now contains SOC-specific binaries. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-10-31imx-gpu-viv: Drop SOC-specific header installationTom Hochstein
The recipe installs GLES3 headers based on SOC. This is not necessary as lack of support is expected to be handled at runtime. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-10-29waffle: Forward port Separate-surfaceless-option-from-x11 patch as wellKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-29waffle: Forward port the patch to latest waffleKhem Raj
OE-core has new version Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-22imx-gpu-g2d: upgrade to 6.4.3.p2.2Andrey Zhizhikin
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-10-22imx-dpu-g2d: upgrade to 1.9.4Andrey Zhizhikin
Add runtime dependency to libopencl-imx. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-10-22imx-gpu-viv: upgrade to 6.4.3.p2.2Andrey Zhizhikin
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-10-22imx-gpu-viv: skip QA check for libgl-imx packageAndrey Zhizhikin
libgl-imx package provides libGL, which has runtime dependencies on X11 libraries. In case of Wayland-only builds, this triggers the QA error on missing RDEPENDS, since they are not provided by any package. Skip this QA check for libgl-imx package, as it is not distributed for Wayland-only builds, and has dependencies properly resolved when X11 builds are used. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.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-27mesa: drop patches after upgrade to 21.2.1.Andrey Zhizhikin
OE-Core mesa has been upgraded to version 21.2.1, which has all patches included. Drop all patches from the layer as they are not applicable anymore and remove them from SRC_URI. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-08-23imx-gpu-viv: Provides virtual/libgl for framebufferTom Hochstein
Support for GL on framebuffer is available for some time, at least since 6.4.0.p2.6. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-18xserver-xorg: Backport pixmap fixes for GLESTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-18imx-gpu-viv: Drop empty Wayland packagesTom Hochstein
The functionality of libwayland-viv-imx and libgc-wayland-protocol-imx was moved to libegl-imx some time ago, so drop the empty packages. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-18imx-gpu-viv: Move CL/cl_viv_vx_ext.h to main packageTom Hochstein
The header file `/usr/include/CL/cl_viv_vx_ext.h` is needed at runtime, so move it to the main package `libclc-imx`. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-18imx-gpu-viv: Inhibit sysroot strippingTom Hochstein
The binaries are already stripped, so inhibit sysroot stripping. Fixes multiple warning messages like: WARNING: imx-gpu-viv-1_6.4.3.p2.0-aarch64-r0 do_populate_sysroot: File '/usr/lib/libGLES_CL.so.1.1.0' from imx-gpu-viv was already stripped, this will prevent future debugging! Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-18imx-gpu-viv: Cleanup FILES_libnn-imx*Tom Hochstein
Certain libnn-imx libraries and headers were moved to nn-imx recipe. Note that nn-imx currently exists only in meta-imx layer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-18imx-dpu-g2d: Upgrade to 1.9.2Tom Hochstein
2043f5e MA-18905 Fix NV12 tiled+interlaced to NV12 Linar output not correct issue. dec91a5 MGS-6047-4 [#ccc] G2d - add support for multiplane destination formats 530834d MGS-6068 [#ccc] [i.MX8QXPC0-MEK@Linux_IMX_5.4.70-2.3.0 Q4 RC1]imxvideoconvert_g2d 6f000cd MA-12001-2 Fix dpu_test build fail on android 3a7b8d4 MA-18242 configure vscale setup factor2 for bob deinterlace e59edc7 MGS-6114 [#ccc] [QNX] - add support for dpu register locking c4784ec MA-12001 Fix Android emulator build error 9fe13fb MGS-6047-3 [#ccc] G2d - add support for multiplane destination formats 43b1eb4 MGS-6047-2 [#ccc] G2d - add support for multiplane destination formats 30f3ece MGS-6047-1 [#ccc] G2d - add support for multiplane destination formats 0dfcf62 MGS-5942 [#ccc] G2D - add support of caching allocated buffers db7e627 MGS-6062 [#ccc] [G2D] YUV rotation is slow Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-18imx-gpu-g2d: Upgrade to 6.4.3.p2.0Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-18imx-gpu-viv: Upgrade to 6.4.3.p2.0Tom Hochstein
See the change log for more details: https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-hardknott Signed-off-by: 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: More override fixesTom Hochstein
Adds fixes for _imx, _imxdpu, _imxdrm, _imxgpu, _imxgpu3d, virtual PREFERRED_PROVIDER versions Fix other places for imx/imxdpu/imxdrm overrides Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-12layer: Convert to new override syntaxKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-26xwayland: fix build against vivante provided opengl on 32bit i.MXMax Krummenacher
With 'use-nxp-bsp' xwayland must not be configured to use glamour. Set the now available package configs accordingly. Prevents compile time errors like: | ../xwayland-21.1.1/hw/xwayland/xwayland-present.c:61:49: error: invalid application of 'sizeof' to incomplete type 'struct xwl_present_window' | 61 | xwl_present_window = calloc (1, sizeof (struct xwl_present_window)); ... | ../xwayland-21.1.1/hw/xwayland/xwayland-present.c:450:14: error: implicit declaration of function 'xwl_glamor_pixmap_get_wl_buffer' [-Werror=implicit-function-declaration] | 450 | buffer = xwl_glamor_pixmap_get_wl_buffer(pixmap); Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-06-04recipes-graphics: clutter/cogl: move bbappend to dynamic layersPierre-Jean Texier
As it breaks the build on master since [1]. Move bbappend files to dynamic layers since recipes were moved to meta-gnome Fixes: ERROR: No recipes in default available for: /home/bdx-iot/ci/meta-freescale/recipes-graphics/clutter/clutter-1.0_%.bbappend /home/bdx-iot/ci/meta-freescale/recipes-graphics/cogl/cogl-1.0_%.bbappend [1] - http://git.openembedded.org/openembedded-core/commit/?id=c4f167d05f58f35a6b94e8dbc4721ab67e7e71eb Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-05-31mesa: Refresh patches for mesa 21.1.1Andreas Müller
* Addresses [1] * all patches were taken from mesa's main branch and applied cleanly * On X11/xfce first tests were performed without any patches: At least we do not see a mouse pointer which is similar behavior as seen when introducing first patch series. * On X11/xfce moving windows is faster now / gtk-based applications still show tiny artifacts / Qt/QML based application run without issues / glmark2-es2 results in 158 which is similar to mesa 21.0.3 * Could not test my weston images (use sddm as dm): All native recipes inheriting cmake_qt5 are broken due to MACHINE_SOCARCH_FILTER - will open an issue for that. [1] https://github.com/Freescale/meta-freescale/issues/795 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-05-19weston-init: uncomment use-g2d=1 based on imxgpu2d MACHINEOVERRIDEChris Dimich
affects the following SoCs: -mx6q -mx6dl -mx6sx -mx6sl -mx7ulp -mx8qm -mx8mm -mx8mp -mx8qxp Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-05-10xserver-xorg: Enable glamor for i.MX 8Tom Hochstein
glamor acceleration for i.MX 8 with GPU was dropped accidentally. Fixes: f5d3b67 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-29imx-gpu-viv: Add GPU kernel module as rrecommendsCarlos Rafael Giani
This partially reverts 676349ec07308ab9e7a62a2474506b8f1c66a603 . While there's no explicit runtime dependency, without a kernel module, nothing that uses EGL / OpenGL ES works. One example is weston, which, without that kernel module, does not run at all. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2021-04-29weston: Fix xwayland dependencyCarlos Rafael Giani
xserver-xorg-wayland was replaced in OE-core with a standalone xwayland recipe, so the xwayland dependency has to be adapted. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2021-04-26weston: Update to 230e9bcTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-26libdrm: Update to 40ea5397Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-26imx-dpu-g2d: Upgrade to 1.8.14Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-26imx-gpu-g2d: Upgrade to 6.4.3.p1.4Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-26imx-gpu-viv: Remove libgal-imx runtime dependency on KLMTom Hochstein
The package libgal-imx does not have a runtime dependency on kernel-module-imx-gpu-viv, so drop it. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-26imx-gpu-viv: Upgrade to 6.4.3.p1.4Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-20xserver-xorg: CleanupTom Hochstein
- drop redundant FILESEXTRAPATHS_prepend line - co-locate SRC_URI mods Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-20xserver-xorg: Don't apply same patch twiceTom Hochstein
The patch 0003-Remove-check-for-useSIGIO-option.patch is applied for both imxgpu and imxgpu2d overrides. imxgpu is enough. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-20mesa-etnaviv-env: Add support to sysvinitVinicius Aquino
Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
2021-04-20xserver-xorg: enable atomic/dri3Andreas Müller
Inspired by [1-2] [1] https://gitlab.freedesktop.org/mesa/mesa/-/issues/4584 [2] https://gitlab.freedesktop.org/mesa/mesa/-/issues/3721 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
2021-04-20xf86-video-armada / libdrm-armada: removeAndreas Müller
Not necessary any more / sources are finally gone Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-20mesa/etnaviv: Add patches to fix redrawAndreas Müller
Without this series mouse pointer was not visible and screen was updated only when mouse was moved. Patch series was suggested in [1] [1] https://gitlab.freedesktop.org/mesa/mesa/-/issues/4584 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-20Move mesa/etnaviv to xf86-video-modesettingAndreas Müller
* armada sources are gone finally * glmark2-es2 performance is almost doubled 87 -> 162 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-20mesa-etnaviv-env: Add a recipe to set environment variables for mesa/entavivAndreas Müller
* we have several options to start an x-session. To not touch all, set environment variables globally * Inspired by [1] [1] https://gitlab.freedesktop.org/mesa/mesa/-/issues/3721 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-14weston-init: Do not exit with error if uncomment function failFabio Berton
Show a warning instead of raising an error when uncomment function can't found the text. This allows using a custom weston.ini file in bbappend. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-13xserver-xorg: Enable glamor for i.MX 8Tom Hochstein
Enable glamor (the default) so legacy x11 apps will get GPU acceleration. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-13xserver-xorg: Remove dri and glx for i.MX DRMTom Hochstein
The removal of swrast support from mesa also removes dri support from mesa for i.MX with DRM, so disable dri. glx support depends on dri, so disable glx. xwayland breaks without glx, so backport a patch that fixes the break. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-13mesa: For NXP BSP align DRM parts to other GPU partsTom Hochstein
With swrast no longer supported, align the DRM parts with the other non-DRM GPU parts, dropping osmesa, swrast, and dri, and restoring gallium. This undoes 3b0fc73. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>