summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* imx-gpu-apitrace: enable back for glibc >= 2.34Andrey Zhizhikin2021-09-022-4/+36
| | | | | | | | | | | | | | 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>
* mesa: drop patches after upgrade to 21.2.1.Andrey Zhizhikin2021-08-2710-862/+0
| | | | | | | | | | 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>
* imx-gpu-viv: Provides virtual/libgl for framebufferTom Hochstein2021-08-231-3/+1
| | | | | | | 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>
* xserver-xorg: Backport pixmap fixes for GLESTom Hochstein2021-08-189-0/+1877
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Drop empty Wayland packagesTom Hochstein2021-08-181-17/+0
| | | | | | | 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>
* imx-gpu-viv: Move CL/cl_viv_vx_ext.h to main packageTom Hochstein2021-08-181-1/+1
| | | | | | | 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>
* imx-gpu-viv: Inhibit sysroot strippingTom Hochstein2021-08-181-3/+4
| | | | | | | | | 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>
* imx-gpu-viv: Cleanup FILES_libnn-imx*Tom Hochstein2021-08-181-3/+2
| | | | | | | 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>
* imx-dpu-g2d: Upgrade to 1.9.2Tom Hochstein2021-08-181-4/+4
| | | | | | | | | | | | | | | | | 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>
* imx-gpu-g2d: Upgrade to 6.4.3.p2.0Tom Hochstein2021-08-181-6/+6
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Upgrade to 6.4.3.p2.0Tom Hochstein2021-08-184-10/+10
| | | | | | | 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>
* imx-gpu-apitrace: exclude from builds with glibc 2.34+Andrey Zhizhikin2021-08-181-0/+3
| | | | | | | | | | | | | | | 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
* layer: More override fixesTom Hochstein2021-08-123-3/+3
| | | | | | | | | | 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>
* layer: Convert to new override syntaxKhem Raj2021-08-1224-206/+206
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xwayland: fix build against vivante provided opengl on 32bit i.MXMax Krummenacher2021-06-261-0/+4
| | | | | | | | | | | | | | 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>
* recipes-graphics: clutter/cogl: move bbappend to dynamic layersPierre-Jean Texier2021-06-042-10/+0
| | | | | | | | | | | | | | | 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>
* mesa: Refresh patches for mesa 21.1.1Andreas Müller2021-05-3112-214/+626
| | | | | | | | | | | | | | | | | | * 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>
* weston-init: uncomment use-g2d=1 based on imxgpu2d MACHINEOVERRIDEChris Dimich2021-05-191-15/+10
| | | | | | | | | | | | | | | affects the following SoCs: -mx6q -mx6dl -mx6sx -mx6sl -mx7ulp -mx8qm -mx8mm -mx8mp -mx8qxp Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
* xserver-xorg: Enable glamor for i.MX 8Tom Hochstein2021-05-101-1/+0
| | | | | | | glamor acceleration for i.MX 8 with GPU was dropped accidentally. Fixes: f5d3b67 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Add GPU kernel module as rrecommendsCarlos Rafael Giani2021-04-291-0/+1
| | | | | | | | | 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>
* weston: Fix xwayland dependencyCarlos Rafael Giani2021-04-291-1/+1
| | | | | | | 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>
* weston: Update to 230e9bcTom Hochstein2021-04-261-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: Update to 40ea5397Tom Hochstein2021-04-261-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-dpu-g2d: Upgrade to 1.8.14Tom Hochstein2021-04-261-3/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-g2d: Upgrade to 6.4.3.p1.4Tom Hochstein2021-04-261-5/+5
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Remove libgal-imx runtime dependency on KLMTom Hochstein2021-04-261-1/+0
| | | | | | | 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>
* imx-gpu-viv: Upgrade to 6.4.3.p1.4Tom Hochstein2021-04-264-9/+9
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: CleanupTom Hochstein2021-04-201-4/+2
| | | | | | | - drop redundant FILESEXTRAPATHS_prepend line - co-locate SRC_URI mods Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: Don't apply same patch twiceTom Hochstein2021-04-201-1/+0
| | | | | | | 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>
* mesa-etnaviv-env: Add support to sysvinitVinicius Aquino2021-04-202-3/+12
| | | | Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
* xserver-xorg: enable atomic/dri3Andreas Müller2021-04-203-0/+42
| | | | | | | | | | 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>
* xf86-video-armada / libdrm-armada: removeAndreas Müller2021-04-202-65/+0
| | | | | | Not necessary any more / sources are finally gone Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* mesa/etnaviv: Add patches to fix redrawAndreas Müller2021-04-207-0/+450
| | | | | | | | | | 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>
* Move mesa/etnaviv to xf86-video-modesettingAndreas Müller2021-04-202-24/+10
| | | | | | | * armada sources are gone finally * glmark2-es2 performance is almost doubled 87 -> 162 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* mesa-etnaviv-env: Add a recipe to set environment variables for mesa/entavivAndreas Müller2021-04-202-0/+27
| | | | | | | | | | * 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>
* weston-init: Do not exit with error if uncomment function failFabio Berton2021-04-141-1/+1
| | | | | | | 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>
* xserver-xorg: Enable glamor for i.MX 8Tom Hochstein2021-04-134-1/+116
| | | | | | | Enable glamor (the default) so legacy x11 apps will get GPU acceleration. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: Remove dri and glx for i.MX DRMTom Hochstein2021-04-132-3/+51
| | | | | | | | | | | 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>
* mesa: For NXP BSP align DRM parts to other GPU partsTom Hochstein2021-04-131-20/+2
| | | | | | | | 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>
* weston-init: Rework uncomment function logicVinicius Aquino2021-04-131-1/+1
| | | | | | | Fix error "Commented setting '#use-g2d=1' not found" when building for some imx machines. Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
* mesa: For i.MX parts without GPU use default gallium and driTom Hochstein2021-02-161-10/+20
| | | | | | | | | | | | | For NXP BSP, building graphics software for a part without GPU can fail with a dependency issue: ``` ERROR: Nothing RPROVIDES 'libgl' (but /home/r60874/gatesgarth/sources/poky/meta/recipes-gnome/gtk+/gtk+3_3.24.22.bb, /home/r60874/gatesgarth/sources/poky/meta/recipes-graphics/cogl/cogl-1.0_1.22.8.bb RDEPENDS on or otherwise requires it) ``` This is fixed by adding a third case configuration using the default gallium and dri. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Upgrade for eglretrace supportTom Hochstein2021-02-161-8/+17
| | | | | | | eglretrace was not available for i.MX 6 and 7 on framebuffer or wayland. For wayland, waffle is enabled for 6 and 7, matching i.MX 8. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Update weston.iniTom Hochstein2021-02-112-2/+10
| | | | | | | | | - Add repaint-window for all i.MX 8 to support 4K display - Add enable-overlay-view option as comment - Enable touchscreen_calibrator - Update transform values which were re-worked for weston 9.0 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* mesa: Disable dri for parts without DRMTom Hochstein2021-02-031-4/+9
| | | | | | | | | | | | | | On dunfell parts without DRM (i.MX 6 and 7) break because dri is enabled: ``` | meson.build:455:4: ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa ``` The break does not occur on master since dri is effectively disabled if no dri drivers are configured. Disabling dri outright is still a better implementation on master, and of course is required on dunfell. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: update to 9.0.0.imxMax Krummenacher2021-02-013-23/+70
| | | | | | | | | NXP release imx_5.4.70_2.3.0. 0001-weston-launch-Provide-a-default-version-that-doesn-t.patch update taken from NXP BSP. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* wayland-protocols: update to 1.20.imxMax Krummenacher2021-02-011-2/+2
| | | | | | NXP release imx_5.4.70_2.3.0. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-dpu-g2d: update to 6.4.3.p1.0Max Krummenacher2021-02-011-4/+4
| | | | | | | | NXP release imx_5.4.70_2.3.0. This package uses EULA v17 October 2020. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-gpu-g2d: update to 6.4.3.p1.0Max Krummenacher2021-02-011-5/+5
| | | | | | | | NXP release imx_5.4.70_2.3.0. This package uses EULA v17 October 2020. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-gpu-viv: update to 6.4.3.p1.0Max Krummenacher2021-02-014-12/+14
| | | | | | | | | | | | | | NXP release imx_5.4.70_2.3.0. imx-gpu-viv provides the OpenCL C++ headers which meta-openembedded also provides in the opencl-clhpp recipe. Add opencl-clhpp to PROVIDES and have a PREFERRED_PROVIDER_opencl-clhpp decide on which to build. libgbm-imx got additional shared objects, set FILES accordingly. This package uses EULA v17 October 2020. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* libdrm: update to 2.4.102.imxMax Krummenacher2021-02-012-38/+3
| | | | | | | | | | | NXP release imx_5.4.70_2.3.0. Drop the explicit PACKAGE_ARCH setting. This is done by fsl-dynamic-packagearch.bbclass. The musl-ioctl.patch has been upstreamed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>