summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* piglit: Restore GL testsTom Hochstein2023-04-031-1/+1
| | | | | | The build is working now. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* piglit: Configure i.MX 9 with OpenCL supportTom Hochstein2023-04-031-3/+4
| | | | | | | | Also some simple cleanup: - drop unused FILESEXTRAPATHS prepend - fix order Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* piglit: Fix build with clang when using NXP BSPKhem Raj2023-03-131-0/+1
| | | | | | | | | Fixes build errors e.g. tests/egl/egl-util.c:89:9: error: incompatible integer to pointer conversion returning 'Pixmap' (aka 'unsigned long') from a function with result type 'EGLNativePixmapType' (aka 'struct wl_egl_pixmap *') [-Wint-conversion] return XCreatePixmap(state->dpy, state->win, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* wayland-protocols: Add i.MX 9 series compatibility for NXP BSPTom Hochstein2023-02-171-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland-protocols: Simplify compatibility logicTom Hochstein2023-02-171-1/+1
| | | | | | | | | The recipe is for all i.MX 6-8 SOCs using NXP BSP, but it confusingly uses an indirect override imxfbdev|imxgpu. The override used does happen to cover all 6-8, but it is simpler to just use i.MX series overrides. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-pxp-g2d: Add PXP implementation of G2DTom Hochstein2023-02-161-0/+28
| | | | | | Used by i.MX 93. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layer: Use github for i.MX sourceTom Hochstein2023-02-082-2/+2
| | | | | | The NXP repos are moving to github. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: Update to 5.15.71_2.2.0Tom Hochstein2023-02-081-2/+2
| | | | | | | | Includes: 063bd699 MGS-6873 tests/util: add imx-dcnano driver c6cf6625 MA-20797 Update imx_drm header to enable fence support in DRM blitter API Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Sync options with recipe from meta-oeKhem Raj2023-01-111-1/+8
| | | | | | Reset SECURITY_CFLAGS when using clang to fix build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* piglit: Remove gl tests as wellKhem Raj2023-01-111-1/+1
| | | | | | They do not build for imx8 on master Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libva: Remove glx packageconfig for imxgpuKhem Raj2023-01-111-0/+1
| | | | | | glx is not available in imx gpu GL implementation Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-g2d-samples: bump revision to 3efd75aGary Bisson2023-01-061-2/+2
| | | | | | | | | | | | | | Update to the version used in NXP Yocto branch kirkstone-5.15.71-2.2.0. Updated the repo location to new Github account. Commit history: 3efd75a MGS-6902 Add SCR for g2d-samples 0094ed8 LF-6616 g2d-samples intermittent build break 80d5888 MGS-3854 Fix global alpha on iMX8QM/QXP 0c36b18 MGS-6862-2 warp_dewarp_test: Fix misuse of &ctx->handle b4443cb MGS-6862-1 warp_dewarp_test: Add g2d_open check Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
* imx-dpu-g2d: update from 2.1.2 to 2.1.4Gary Bisson2023-01-061-2/+8
| | | | | | | | - Update to the version used in NXP Yocto branch kirkstone-5.15.71-2.2.0 - Also the binaries seem to be stripped now, so skip that step to avoid build errors Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
* imx-gpu-g2d: update from 6.4.3.p4.4 to 6.4.3.p4.6Gary Bisson2023-01-062-33/+46
| | | | | | | | | | - Update to the version used in NXP Yocto branch kirkstone-5.15.71-2.2.0 - The 8M Mini does not support OpenCL, so install an SOC-specific G2D library built without OpenCL. (see e3e0817b in meta-imx) - Also the binaries seem to be stripped now, so skip that step to avoid build errors Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
* imx-gpu-viv: update from 6.4.3.p4.4 to 6.4.3.p4.6Gary Bisson2023-01-062-4/+4
| | | | | | Update to the version used in NXP Yocto branch kirkstone-5.15.71-2.2.0. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
* weston-init: Correct override of INI_UNCOMMENT_ASSIGNMENTSJun Zhu2022-12-201-4/+5
| | | | | | | current implement only includes INI_UNCOMMENT_USE_G2D to INI_UNCOMMENT_ASSIGNMENTS on the platforms with VIV G2D hardware. Signed-off-by: Jun Zhu <junzhu@nxp.com>
* weston-init: Drop redundant xwayland=true settingTom Hochstein2022-12-152-4/+0
| | | | | | | The main recipe now sets xwayland=true in weston.ini, so drop it from here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston imx: update from 10.0.0.imx to 10.0.1.imxMax Krummenacher2022-11-181-3/+3
| | | | | | Update to the version used in lf5.15.52_2.1.0. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-g2d-samples: update to 2.1, sha 5a38513Max Krummenacher2022-11-181-4/+30
| | | | | | | | | | | | | | | | | | | | | Update to the version used in lf5.15.52_2.1.0. imx-g2d-samples now is configured with the BUILD_IMPLEMENTATION environment variable which is expected to be set to one of dpu|gpu-drm|gpu-fbdev depending on the targeted SoC. Commit history: * 5a38513 wayland_dmabuf_test:Convert to xdg-shell * c8167c1 wayland_cf_test:Convert to xdg-shell * 2ccdebe wayland_shm_test:Convert to xdg-shell * 82169b8 LF-6057: g2d_wayland_dmabuf_test had no display * 63272d5 Add multiblit_test build for imx6/7 fbdev * 85ef72a rename extended_test to tiling_test * 2fbe894 YOCIMX-6294: Configure samples to build by implementation * 4f03293 README.md: Cleanup minor issues * 0b6981e MGS-6648 [#ccc] Add Test loop parameter in command line for power measurements Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-dpu-g2d: update from 2.1.0 to 2.1.2Max Krummenacher2022-11-181-3/+3
| | | | | | | | Update to the version used in lf5.15.52_2.1.0. License was updated to NXP EULA v39 August 2022. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-gpu-g2d: update from 6.4.3.p4.2 to 6.4.3.p4.4Max Krummenacher2022-11-181-5/+5
| | | | | | | | Update to the version used in lf5.15.52_2.1.0. License was updated to NXP EULA v39 August 2022. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-gpu-viv: update from 6.4.3.p4.2 to 6.4.3.p4.4Max Krummenacher2022-11-183-17/+6
| | | | | | | | | | | | Update to the version used in lf5.15.52_2.1.0. Note that the the vulkan installable client driver is provided with a filename and soname that no longer clashes with the vulkan loader. Thus the rename and soname magic is dropped. License was updated to NXP EULA v39 August 2022. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* weston: fix build test-internal-screenshotMaxim Paymushkin2022-10-242-0/+34
| | | | | | | | | | | | | | | tests: Add dependency on screenshooter client protocol Given that the test-helper code relies on the screenshooter protocol, make sure it's available for us to build, and the dependency ensures we build in order. Link: https://github.com/wayland-project/weston Commit: 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Fixes: #1273 Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com>
* Revert "imx-gpu-viv: inherit features_check in imx-gpu-viv bb file"Otavio Salvador2022-10-211-1/+1
| | | | This reverts commit 4d97ada2fa09f83dbb551370deb320e5c74545d3.
* imx-gpu-viv: inherit features_check in imx-gpu-viv bb fileMeng Li2022-10-211-1/+1
| | | | | | | | | | | After rebase meta-freescale, there is a building warning as below: WARNING: imx-gpu-viv-1_6.4.3.p4.2-aarch64-r0 do_package_qa: QA Issue: imx-gpu-viv: recipe doesn't inherit features_check Because the features_check was missed when NXP upgraded imx-gpu-viv package, add it back. Signed-off-by: Meng Li <Meng.Li@windriver.com> (cherry picked from commit 14916cfe741f696545515ddc768da43d2ea29fb6)
* vulkan-loader: Fix library packagingTom Hochstein2022-10-151-2/+3
| | | | | | | | | | | | The logic to move the .so into the main package is incorrect and results in all libraries being moved to the dev package, causing a QA error like the following: ``` ERROR: imx-gpu-sdk-5.7.1-r0 do_package_qa: QA Issue: imx-gpu-sdk rdepends on vulkan-loader-dev [dev-deps] ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Install missing Vulkan ICD config fileTom Hochstein2022-10-112-3/+19
| | | | | | Add the missing json file for the i.MX vulkan implementation. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* vulkan-loader: Place .so in main packageTom Hochstein2022-10-111-0/+4
| | | | | | | The library libvulkan.so is loaded dynamically and so is needed in the main package. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* vulkan-loader: Drop mesa dependency for i.MX GPUTom Hochstein2022-10-111-3/+2
| | | | | | When i.MX GPU-based vulkan is used, the mesa drivers are not needed. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* vulkan: Downgrade to 1.2.182.0 for i.MX GPUTom Hochstein2022-10-111-0/+0
| | | | | | | i.MX GPU drivers work with an older version of vulkan, so add the older recipes. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: use the imxvulkan override for libvulkanJose Quaresma2022-10-041-2/+1
| | | | Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
* vulkan-loader: use the imxvulkan override in recommendsJose Quaresma2022-10-041-1/+1
| | | | | | | With this the libvulkan-imx is recommends only when the machine supports Vulkan. Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
* imx-gpu-viv: Allow limited OpenVX supportTom Hochstein2022-10-011-2/+9
| | | | | | | | | | OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. A recent change removed OpenVX packages except for this case. This was a mistake, since there is in fact limited OpenVX support provided on other i.MX 8 machines as needed for i.MX machine learning packages. Fixes: 09e2ce3 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston_10.0.0.imx: add build dependency on libdrmMarkus Niebel2022-09-301-0/+1
| | | | | | | | | | | When removing rdp as default dependency a hidden buildtime dependency on libdrm is uncovered for targets using fbdev as backend and g2d as renderer. As a result compiling for i.MX6 will fail due to missing libdrm headers. Add libdrm to DEPENDS for imxfbdev. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* Merge pull request #1229 from MaxKrummenacher/masterOtavio Salvador2022-09-291-1/+8
|\ | | | | Some fixes for imx-nxp-bsp
| * imx-gpu-viv: fix removing non packaged filesMax Krummenacher2022-09-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The for loops over the FILES:xxx variables do file expansion on the FILES entries. As a result any file name(s) specified with a wildcard which actually exists in the host filesystem will be replaced with the host filesystems file name(s). Disable file expansion for the for loop and reenable it afterwards so that the expansion happens on the full file names with the ${D} prefix. E.g if the host has /usr/lib/libOpenCL.so.1, then /usr/lib/libOpenCL.so.* gets expanded to /usr/lib/libOpenCL.so.1, and as a result ${D}/usr/lib/libOpenCL.so.1.2, ${D}//usr/lib/libOpenCL.so.3 ... will not be deleted. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
| * imx-gpu-viv: mx8mm: keep deploying openclMax Krummenacher2022-09-261-1/+0
| | | | | | | | | | | | | | | | | | | | imx-gpu-g2d dynamically links against the library so OE stops with the following errors: | ERROR: imx-gpu-g2d-6.4.3.p4.2-r0 do_package_qa: QA Issue: /usr/lib/libg2d-viv.so.2.1.0 contained in package imx-gpu-g2d requires libOpenCL.so.3(OPENCL_1.0)(64bit), but no providers found in RDEPENDS:imx-gpu-g2d? [file-rdeps] | ERROR: imx-gpu-g2d-6.4.3.p4.2-r0 do_package_qa: QA Issue: /usr/lib/libg2d-viv.so.2.1.0 contained in package imx-gpu-g2d requires libOpenCL.so.3()(64bit), but no providers found in RDEPENDS:imx-gpu-g2d? [file-rdeps] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* | weston: Fix the append logicKhem Raj2022-09-291-1/+1
| | | | | | | | | | | | | | | | Previous commit did not really work because we are using bb.utils.filter and that removed the artificial space sadly. Therefore add it outside this function call. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | weston: Add missing space before appending to PACKAGECONFIGKhem Raj2022-09-291-1/+1
| | | | | | | | | | | | | | This can cause problem by creating unknown packageconfigs by concatenating the strings Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | weston: disable rdp as it pulls in some big dependenciesJose Quaresma2022-09-281-3/+1
|/ | | | | | | | | | | | | | | | | | | | | | | The weston_10.0.0.imx now depends on freerdp which in turn pulls some unrelated big dependencies like cups and gstreamer. | # meta-freescale/recipes-graphics/wayland/weston_10.0.0.imx.bb | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp" | | PACKAGECONFIG:append = " \ | rdp \ | ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_OPENGL}', d)}" | # meta-openembedded/meta-oe/recipes-support/freerdp/freerdp_2.8.0.bb | PACKAGECONFIG ??= " \ | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb pam pulseaudio wayland x11', d)}\ | gstreamer cups pcsc \ | " | | PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups" | PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 gstreamer1.0-plugins-base" Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
* imx-gpu-viv: Remove OpenCL and OpenVX from unsupported SOCsTom Hochstein2022-09-221-8/+30
| | | | | | | | OpenCL and OpenVX components are provided for SOCs that are not supported. Fix this by removing them from the PACKAGES variable and from the install. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Drop SOC condition on FILES:libgbm-imx*Tom Hochstein2022-09-221-3/+3
| | | | | | | The FILES variable should always specify the components regardless of whether those components work for the SOC. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Use FILES variable for VDK and Vulkan removalTom Hochstein2022-09-221-13/+16
| | | | | | | | The removal of the libvdk-imx and libvulkan-imx components is properly handled with the existing FILES variables instead of with an incomplete hard-coded list. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #1217 from thochstein/imx-gpu-vivOtavio Salvador2022-09-211-16/+25
|\ | | | | imx-gpu-viv: Add support for i.MX 8 without Wayland
| * imx-gpu-viv: Add support for i.MX 8 without WaylandTom Hochstein2022-09-211-16/+25
| | | | | | | | | | | | This configuration is experimental and has never been fully tested. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | imx-gpu-viv: remove vulkan files if not packagedMax Krummenacher2022-09-211-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the i.MX 8M Mini the GPU doesn't provide the Vulkan API and thus the Vulkan libs are not installed. Delete them in that case from the install directory to prevent the following build time error: | ERROR: imx-gpu-viv-1_6.4.3.p4.2-aarch64-r0 do_package: QA Issue: imx-gpu-viv: Files/directories were installed but not shipped in any package: | /usr/lib/libvulkan.so.1.2.1 | /usr/lib/libvulkan.so.1 Once the above files are deleted from ${D} I additionally get: | ERROR: imx-gpu-viv-1_6.4.3.p4.2-aarch64-r0 do_package_qa: QA Issue: -dev package imx-gpu-viv-dev contains non-symlink .so '/usr/lib/libSPIRV_viv.so' [dev-elf] Why it is not in the list of the `installed but not shipped`files I do not know, but as libSPIRV_viv is also packaged into the vulkan packages let's delete it too. Fixes: ee92b5a8 ("imx-gpu-viv: Mark libvulkan-imx unavailable for 8M Mini") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* | Merge pull request #1214 from YoeDistro/yoe/mutOtavio Salvador2022-09-208-4/+49
|\ \ | | | | | | musl fixes
| * | imx-gpu-viv: Insert libgcompat.so to DT_NEEDED section of libsKhem Raj2022-09-191-0/+20
| | | | | | | | | | | | | | | | | | | | | These libs are pre-compiled for glibc therefore, on musl they will need redirecting via the gcompat stub to work at runtime. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * | weston: Allow undefined symbols with muslKhem Raj2022-09-191-0/+4
| | | | | | | | | | | | | | | | | | | | | These are glibc specific symbols which gcompat should be able to handle at runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * | pango: Fix build on musl on socs with imxgpuKhem Raj2022-09-191-0/+5
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>