summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* 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> (cherry picked from commit 164e32093692d72a56c348f3e91a3a7b48152189)
* 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> (cherry picked from commit 8114b55995e4e73c19dab6670adc8d7ec633f8af)
* 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> (cherry picked from commit 5e6003bf5add83d67cd8f704d1512ebf5ee18b6f)
* 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> (cherry picked from commit d92613880280183d438f607ec3c74b549894cbe8)
* 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> (cherry picked from commit 97fae3422d575110346b5238a758d343376ef2d1)
* 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> (cherry picked from commit 2ad610490aeb8ac723f1a796aaad56aec3872574)
* 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>
* vulkan-loader: Fix library packagingbackport-1271-to-kirkstoneTom 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> (cherry picked from commit 509be15b1456f88831b6a074af354304ea873aaa)
* 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> (cherry picked from commit 10318d49308ddb09a1f35ce33134d8cf76870ae3)
* 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> (cherry picked from commit 8648cedaa35519cad859207e25689889155760a9)
* 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> (cherry picked from commit acf5734a90ae5528ef18fc1d0cb0522c37f88059)
* 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> (cherry picked from commit 705d5ca01245e1b0aa42d7380ad79ff1c3db8fcb)
* imx-gpu-viv: use the imxvulkan override for libvulkanJose Quaresma2022-10-041-2/+1
| | | | | Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> (cherry picked from commit d270e11690dc9947e157713d9acebdd5973c7421)
* 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> (cherry picked from commit 343f2809030450f7f720d98ca5ffc34e30aea8e0)
* imx-gpu-viv: Allow limited OpenVX supportTom Hochstein2022-10-031-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> (cherry picked from commit 42e5e3ec9b4f62c83b47e956349fa4d409e56df1)
* weston_10.0.0.imx: add build dependency on libdrmbackport-1244-to-kirkstoneMarkus 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> (cherry picked from commit 678bf9b179a4573ae7290f2600949c0f5440a271)
* imx-gpu-viv: fix removing non packaged filesMax Krummenacher2022-09-291-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> (cherry picked from commit fe187c070f06c56a28416da339591ad3c4b6e9c8)
* imx-gpu-viv: mx8mm: keep deploying openclMax Krummenacher2022-09-291-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> (cherry picked from commit 8c720cd5492c0717fd5de477daacda3b717b3649)
* 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> (cherry picked from commit e3c2e0644a4593ae35270a890e1e3692f234545e)
* 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> (cherry picked from commit b8581e79e0ae9d7c1a6181ebd3425b7348b86f26)
* 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> (cherry picked from commit 3e4a9fb838f20b63067416e8f2ade1f7dfb61d6f)
* imx-gpu-viv: Remove OpenCL and OpenVX from unsupported SOCsTom Hochstein2022-09-231-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> (cherry picked from commit 09e2ce31195867024d271eefea9891b94b7d20dd)
* imx-gpu-viv: Drop SOC condition on FILES:libgbm-imx*Tom Hochstein2022-09-231-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> (cherry picked from commit 6ea6800903c149b9c6297a40896ca206f74fa1cd)
* imx-gpu-viv: Use FILES variable for VDK and Vulkan removalTom Hochstein2022-09-231-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> (cherry picked from commit 4e2846e9cce900697f850fa092bc41a1cc5b9d4a)
* 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> (cherry picked from commit 0afe904e6bb501816ffc6cf0a7c136d7d46b144e)
* 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> (cherry picked from commit e55eda8b7f590ee07c5cb6c6605b7167c70456dd)
* Merge pull request #1220 from Freescale/backport-1214-to-kirkstoneOtavio Salvador2022-09-218-4/+49
|\ | | | | [Backport kirkstone] musl fixes
| * imx-gpu-viv: Insert libgcompat.so to DT_NEEDED section of libsbackport-1214-to-kirkstoneKhem Raj2022-09-201-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> (cherry picked from commit d91b6dac7dd7c0879b3a4a5f8f3abd82c33780b7)
| * weston: Allow undefined symbols with muslKhem Raj2022-09-201-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> (cherry picked from commit 6a882207bccfad31d78b912006138bda79667615)
| * pango: Fix build on musl on socs with imxgpuKhem Raj2022-09-201-0/+5
| | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit b193283531d05b436839cf66b0b5dca51c345d6d)
| * harfbuzz: Fix build with musl on imxgpu machinesKhem Raj2022-09-201-0/+5
| | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 3159282461d2b251ad5d3f09d1ca0196d2b548c1)
| * cairo,xwayland: Fix compiling with musl with vivante gpu driver libsKhem Raj2022-09-202-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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> (cherry picked from commit fa4112e43fc4edc4a8521eddd459606328be647e)
| * imx-dpu-g2d,imx-gpu-viv,imx-sw-pdm: Use gcompat with muslKhem Raj2022-09-202-3/+7
| | | | | | | | | | | | | | | | | | | | | | 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> (cherry picked from commit 61718793a4c04c768ecc829372b9d4de3c6c463b)
* | imx-gpu-viv: Mark libvulkan-imx unavailable for 8M Minibackport-1218-to-kirkstoneTom Hochstein2022-09-201-4/+7
|/ | | | | | | | | | | | | | | 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> (cherry picked from commit ee92b5a8b2cad45de267d3cf6dae9251f5ed11fd)
* gtk+3: Drop x11 config logicTom Hochstein2022-09-151-5/+0
| | | | | | | | | | | | | 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> (cherry picked from commit e3f41f8c93ab66b1f124059cf5ce3d24b148285b)
* gtk+3: Fix logical error in removing x11Khem Raj2022-09-151-1/+1
| | | | | | | | 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> (cherry picked from commit 7447f7c8784883589195a83e27f8cb0ad430e88e)
* gtk+: Disable x11 only when wayland is in distro_features but x11 is notKhem Raj2022-09-151-3/+4
| | | | | | | | Some distros enable both x11 and wayland in distro features in such cases it should not remove x11 from distro features. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit efcb2fe79c96beca4d7709a66aa7872839f14b9f)
* weston: Fix build with clang-15Khem Raj2022-09-132-1/+37
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 0dad0e1e9d075a957cf334e68ec5f09afeb3c2bd)
* Merge pull request #1198 from Freescale/backport-1197-to-kirkstoneOtavio Salvador2022-09-061-1/+1
|\ | | | | [Backport kirkstone] mesa-demos: Drop non-functional glx configuration
| * mesa-demos: Drop non-functional glx configurationbackport-1197-to-kirkstoneTom Hochstein2022-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | The packageconfig glx is no longer used after a rework, and removing the packageconfig x11 now also removes glx support. [1] [1] https://github.com/openembedded/openembedded-core/commit/a904c9492e86be39fcdd244e8f4b9768861c0e77 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 6c552bd6732f4fad2f6264051f954188b941fce3)
* | mesa-demos: Revert backported 8.5 changesTom Hochstein2022-09-062-2/+89
| | | | | | | | | | | | | | | | | | | | | | Some of the changes backported recently to kirkstone are specific to 8.5, but kirkstone uses 8.4. Specifically, on 8.4: - OpenVG is still supported - wayland packageconfig is not added by default - glu packageconfig still exists separate from x11 packageconfig Fixes: 49dac9d7 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | mesa-demos: Drop redundant glu configurationTom Hochstein2022-09-061-1/+0
|/ | | | | | The default contains glu, so no need to add it. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* cairo: Ignore undef symbols on musl with imxgpuKhem Raj2022-09-051-0/+6
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit b5bd73c5f845ee14c4baa0f5235381b88dbcc4f5)
* imx-gpu-viv: Enable packaging with muslKhem Raj2022-09-051-0/+3
| | | | | | | | | gcompat provides a good wrapper to run glibc binaries on musl. However, the prebuilts cant escape glibc specific symbol versioning, therefore disable file-rdeps checks on musl. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 28375a29dd12e98bf536fb8de32d02c705fe6fdc)
* weston: Upgrade 9.0.0.imx -> 10.0.0.imxbackport-1183-to-kirkstoneTom Hochstein2022-08-267-423/+50
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 96f0ad1126bdeca57b810b7c2ac010fa7af9ab25)
* libglu: Remove x11 requirement for i.MX GPUTom Hochstein2022-08-261-0/+1
| | | | | | | i.MX GPU drivers don't require x11. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 576292c80045d94e188df4e223f8078fe753a76b)
* mesa-demos: Update for latestTom Hochstein2022-08-262-92/+7
| | | | | | | | | | | | | | | | | Drop OpenVG packageconfig and patch as OpenVG support is dropped from mesa-demos. For i.MX GPU: - x11 is not required - GLX is not supported - GLU is required - GLUT is not required for x11 Since x11 is not required but GLU is, restore the PACKAGECONFIG for glu, which was recently tied to x11. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit ed60a7915dfb4c2da89007c1670ef1da8618a063)
* mesa-demos: Update formatting for readabilityTom Hochstein2022-08-261-13/+11
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit b0e0b700fb6736eb77d880952d9e92c3014b1445)