aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2023-02-08layer: Use github for i.MX sourceTom Hochstein
The NXP repos are moving to github. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-02-08libdrm: Update to 5.15.71_2.2.0Tom Hochstein
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>
2023-01-11imx-gpu-apitrace: Sync options with recipe from meta-oeKhem Raj
Reset SECURITY_CFLAGS when using clang to fix build Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-11piglit: Remove gl tests as wellKhem Raj
They do not build for imx8 on master Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-11libva: Remove glx packageconfig for imxgpuKhem Raj
glx is not available in imx gpu GL implementation Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-06imx-g2d-samples: bump revision to 3efd75aGary Bisson
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>
2023-01-06imx-dpu-g2d: update from 2.1.2 to 2.1.4Gary Bisson
- 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>
2023-01-06imx-gpu-g2d: update from 6.4.3.p4.4 to 6.4.3.p4.6Gary Bisson
- 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>
2023-01-06imx-gpu-viv: update from 6.4.3.p4.4 to 6.4.3.p4.6Gary Bisson
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>
2022-12-20weston-init: Correct override of INI_UNCOMMENT_ASSIGNMENTSJun Zhu
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>
2022-12-15weston-init: Drop redundant xwayland=true settingTom Hochstein
The main recipe now sets xwayland=true in weston.ini, so drop it from here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-11-18weston imx: update from 10.0.0.imx to 10.0.1.imxMax Krummenacher
Update to the version used in lf5.15.52_2.1.0. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-18imx-g2d-samples: update to 2.1, sha 5a38513Max Krummenacher
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>
2022-11-18imx-dpu-g2d: update from 2.1.0 to 2.1.2Max Krummenacher
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>
2022-11-18imx-gpu-g2d: update from 6.4.3.p4.2 to 6.4.3.p4.4Max Krummenacher
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>
2022-11-18imx-gpu-viv: update from 6.4.3.p4.2 to 6.4.3.p4.4Max Krummenacher
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>
2022-10-24weston: fix build test-internal-screenshotMaxim Paymushkin
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>
2022-10-21Revert "imx-gpu-viv: inherit features_check in imx-gpu-viv bb file"Otavio Salvador
This reverts commit 4d97ada2fa09f83dbb551370deb320e5c74545d3.
2022-10-21imx-gpu-viv: inherit features_check in imx-gpu-viv bb fileMeng Li
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)
2022-10-15vulkan-loader: Fix library packagingTom Hochstein
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>
2022-10-11imx-gpu-viv: Install missing Vulkan ICD config fileTom Hochstein
Add the missing json file for the i.MX vulkan implementation. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-10-11vulkan-loader: Place .so in main packageTom Hochstein
The library libvulkan.so is loaded dynamically and so is needed in the main package. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-10-11vulkan-loader: Drop mesa dependency for i.MX GPUTom Hochstein
When i.MX GPU-based vulkan is used, the mesa drivers are not needed. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-10-11vulkan: Downgrade to 1.2.182.0 for i.MX GPUTom Hochstein
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>
2022-10-04imx-gpu-viv: use the imxvulkan override for libvulkanJose Quaresma
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2022-10-04vulkan-loader: use the imxvulkan override in recommendsJose Quaresma
With this the libvulkan-imx is recommends only when the machine supports Vulkan. Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2022-10-01imx-gpu-viv: Allow limited OpenVX supportTom Hochstein
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>
2022-09-30weston_10.0.0.imx: add build dependency on libdrmMarkus Niebel
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>
2022-09-29Merge pull request #1229 from MaxKrummenacher/masterOtavio Salvador
Some fixes for imx-nxp-bsp
2022-09-29weston: Fix the append logicKhem Raj
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>
2022-09-29weston: Add missing space before appending to PACKAGECONFIGKhem Raj
This can cause problem by creating unknown packageconfigs by concatenating the strings Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-28imx-gpu-viv: fix removing non packaged filesMax Krummenacher
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>
2022-09-28weston: disable rdp as it pulls in some big dependenciesJose Quaresma
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>
2022-09-26imx-gpu-viv: mx8mm: keep deploying openclMax Krummenacher
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>
2022-09-22imx-gpu-viv: Remove OpenCL and OpenVX from unsupported SOCsTom Hochstein
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>
2022-09-22imx-gpu-viv: Drop SOC condition on FILES:libgbm-imx*Tom Hochstein
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>
2022-09-22imx-gpu-viv: Use FILES variable for VDK and Vulkan removalTom Hochstein
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>
2022-09-21Merge pull request #1217 from thochstein/imx-gpu-vivOtavio Salvador
imx-gpu-viv: Add support for i.MX 8 without Wayland
2022-09-21imx-gpu-viv: Add support for i.MX 8 without WaylandTom Hochstein
This configuration is experimental and has never been fully tested. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-21imx-gpu-viv: remove vulkan files if not packagedMax Krummenacher
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>
2022-09-20Merge pull request #1214 from YoeDistro/yoe/mutOtavio Salvador
musl fixes
2022-09-19imx-gpu-viv: Mark libvulkan-imx unavailable for 8M MiniTom Hochstein
The GPU drivers do not support 8M Mini, so properly exclude them from PACKAGES so the user gets an earlier indication of a problem: ``` $ bitbake vulkan-loader ERROR: Nothing RPROVIDES 'libvulkan-imx' (but /.../poky/meta/recipes-graphics/vulkan/vulkan-loader_1.3.216.0.bb RDEPENDS on or otherwise requires it) ERROR: Required build target 'vulkan-loader' has no buildable providers. Missing or unbuildable dependency chain was: ['vulkan-loader', 'libvulkan-imx'] ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-19imx-gpu-viv: Insert libgcompat.so to DT_NEEDED section of libsKhem Raj
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>
2022-09-19weston: Allow undefined symbols with muslKhem Raj
These are glibc specific symbols which gcompat should be able to handle at runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-19pango: Fix build on musl on socs with imxgpuKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-19harfbuzz: Fix build with musl on imxgpu machinesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-19cairo,xwayland: Fix compiling with musl with vivante gpu driver libsKhem Raj
This ensures that the symbols from the prebuilt libs are not flagged during build, we are betting on gcompat to provide the missing glibc API stubs at runtime. Depend on gcompat on musl needed for imxgpu machines its needed since graphics driver is precompiled for glibc. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-17imx-dpu-g2d,imx-gpu-viv,imx-sw-pdm: Use gcompat with muslKhem Raj
These recipes contain pre-built binaries and libraries which are built against glibc, we have a way to run such binaries on musl systems via gcompat stubs, however, we have to fool the system to ignore the missing rdeps on libc.so.6, since we know they will be available via gcompat being in rdep. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-15gtk+3: Drop x11 config logicTom Hochstein
The original intent of dropping x11 support from the package was so only wayland would be supported. The fix in efcb2fe and 7447f7c removes that. However, it keeps the idea that the x11 packageconfig should be disallowed from being added if x11 is not in the distro features. This was never the intent of the original logic, and since the default is to enable x11 packageconfig if and only if x11 is a distro feature, just drop the logic entirely. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-14gtk+3: Fix logical error in removing x11Khem Raj
Last commit had a thinko, where it should be removing x11 only if x11 is not in distro features, but it ended up doing that for wayland Signed-off-by: Khem Raj <raj.khem@gmail.com>