summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* weston: 9.0.0.imx: fix build with latest masterMax Krummenacher2022-07-132-1/+43
| | | | | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit ecb8d8986d5a46b7cacde50a1f16e9b03840f8e0)
* vf: follow SoC override changes also for vybridMax Krummenacher2022-06-231-0/+0
| | | | | | | | - Complete the move to the new override system also for vybrid - Drop the sub SoC family vf50 and vf60 in favour of using only vf Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 2f8003c30fe290881d12280221b44bae7ce0b373)
* Update xorg.confWouter Vanhauwaert2022-06-221-1/+1
| | | | | | Change kmsdev to more correct /dev/dri/card1 (cherry picked from commit fa0def5452bbcbb332b75a8b528d6f0fcf78cce7)
* xwayland: Add patch to fix fbo pixmap on glamorTom Hochstein2022-05-122-0/+40
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 8a19c8c576ede98c41f45773c2376ad69389907b)
* xwayland: Add patch to prefer GLES2 for glamor EGLTom Hochstein2022-05-122-0/+37
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit a4f772cab24996be79e6dfc26f0b7a3c740468ca)
* xwayland: Drop GLX for i.MX GPUTom Hochstein2022-05-121-2/+3
| | | | | | | i.MX GPU drivers don't support GLX. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit d9df3c4efa829288478d1c5bb90af938a3dfc30b)
* xwayland: Rework i.MX GPU configuration variablesTom Hochstein2022-05-121-4/+4
| | | | | | | | | The design for GPU configuration uses a single input variable for any SOC with GPU and then chooses which SOC to apply it to. A better model uses a single input variable varied on the SOC, then adds it for GPU. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 7a15ffa434ada5eb63a1ec3809b22955002f00c7)
* weston: Upgrade to NXP 5.15.5-1.0.0Tom Hochstein2022-05-121-1/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 7c8cca4595df4c6b991b82720a571e0e6329f0cd)
* imx-g2d-samples: Upgrade 1.0.0 -> 2.0.0Tom Hochstein2022-05-112-25/+32
| | | | | | | This version of samples supports DPU-based G2D, using G2D API 2.0. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 5c9e98440a5b84711f0cc5ae340e0ab1de8de123)
* imx-dpu-g2d: Upgrade 1.9.4 -> 2.0.0Tom Hochstein2022-05-112-35/+27
| | | | | | | | This version uses G2D API 2.0. The sample applications are moved to recipe imx-g2d-samples. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 015caea5c777384b44dda89e8c76dadaecc84ddc)
* imx-gpu-g2d: Fix install for multilibTom Hochstein2022-05-111-2/+5
| | | | | | | | The do_install task doesn't account for multilib. Fix it by using the libdir variable. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit f20a173501a4839b803765b57e3afc5f9f5a2147)
* imx-gpu-g2d: Upgrade 6.4.3.p2.4 -> 6.4.3.p4.0Tom Hochstein2022-05-111-6/+5
| | | | | | | This version uses G2D API 2.0. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 89f0d22235b27d0c13452093ff2211333cb7aa9c)
* imx-gpu-viv: Upgrade to 6.4.3.p4.0Tom Hochstein2022-05-114-10/+10
| | | | | | | | For more details see: https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-kirkstone Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 9b3c563acf33390210cb92a77000614c5be8cfb9)
* weston: Add vsync to cloned displays.Piotr Wojtaszczyk2022-04-042-0/+103
| | | | | | | When using g2d clone mode allocates additional surfaces according to FB_MULTI_BUFFER for each cloned display. The g2d blit from the main screen to the cloned displays is done using inactive surface. The FBIOPAN_DISPLAY ioctl to the surface is done afterwards.
* mx8dx: Normalize MACHINEOVERRIDES implementationTom Hochstein2022-03-312-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and the rework of the SOC overrides didn't handle it properly, leading to a build break: ``` Log data follows: | DEBUG: Executing shell function do_compile | NOTE: 8QX boot binary build | cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory | WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$ tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin' | WARNING: Backtrace (BB generated script): | #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179 | #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151 | #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189 ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1' ``` Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting existing mx8qxp overrides appropriately. Fixes: #1027 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: remove unused patchMax Krummenacher2022-03-251-140/+0
| | | | | | | With the update to 2.4.109.imx the patch is no longer needed. Also remove it from the layer. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* wayland-protocols: Upgrade 1.22.imx -> 1.25.imxTom Hochstein2022-03-251-3/+9
| | | | | | | | This is a pre-release version from upcoming NXP Q2 release added to kirkstone to fix mesa compatibility problems. The commit does also update the recipe to align with the one in OE-core. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: Upgrade 2.4.207.imx -> 2.4.109.imxTom Hochstein2022-03-251-4/+3
| | | | | | | | | This is a pre-release version from upcoming NXP Q2 release added to kirkstone to fix mesa compatibility problems. The patch 0001-meson-add-libdrm-vivante-to-the-meson-meta-data.patch is dropped as it is now upstream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Revert "weston-init: fix some invalid overrides"Tom Hochstein2022-03-151-2/+2
| | | | | | There is a root cause to this that will be fixed instead. This reverts commit 6be9870b5057cf122cecb2716583169b39de78ae.
* weston-init: fix some invalid overridesMing Liu2022-03-131-2/+2
| | | | | | | | | | The mx8qm-nxp-bsp/mx8qxp-nxp-bsp overrides would not work because imxgpu2d would take effect in the end since it has higher priority in MACHINEOVERRIDES. Append mx8qm-nxp-bsp/mx8qxp-nxp-bsp after imxgpu2d can fix the problem. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* xf86-video-imx-vivante: drop vivante specific x11 driverMax Krummenacher2022-03-063-112/+3
| | | | | | | | | | | | The required x11 driver stuff has been removed from imx-gpu-viv and thus the X11 driver is no longer buildable. Drop the recipe and fallback on the default X11 fb driver. | ERROR: Nothing RPROVIDES 'libvivante-dri-imx' (but .../meta-freescale/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb RDEPENDS on or otherwise requires it) Completes 747c96f5 ("imx-gpu-viv: Upgrade to 6.4.3.p2.4"). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-gpu-viv: Remove comment code which was unusedOtavio Salvador2022-02-211-2/+0
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Rework recipes to use imx-nxp-bsp more extensivelyOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-nxp-bsp override; it has been applied to: - gstreamer1.0 - gstreamer1.0-plugins-bad - gstreamer1.0-plugins-base - gstreamer1.0-plugins-good - imx-alsa-plugins - imx-codec - imx-gst1.0-plugin - imx-parser - libdrm - libimxdmabuffer - linux-fslc-imx - linux-imx - optee-client - optee-test Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-2124-44/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-g2d-samples: Ping to imxgpu2d machinesKhem Raj2022-02-121-0/+3
| | | | | | | It depends on imx-gpu-g2d recipe which is specific to imxgpu2d machine types Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston-init: Set bindir properly in weston.iniTom Hochstein2022-02-111-0/+1
| | | | | | | The customized weston.ini is installed in the rootfs with an unresolved bindir variable. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Enable screen sharingTom Hochstein2022-01-291-1/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Adjust base patch for forkTom Hochstein2022-01-291-8/+10
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Upgrade to L5.10.72-2.2.0 releaseTom Hochstein2022-01-291-1/+1
| | | | | | | | | | | | | | | Fixes: ``` 26da63a4 screen-share: weston screen-share poor performance with g2d-renderer f8ce046f g2d-renderer: weston screenshare fail to work on rdp-backend with g2d-renderer 74ae3012 drm-backend: rename NV12_10LE40 to NV15 78e17706 backend-fbdev: MIPI display recovery slowly after suspend resume e73c641e LF-4317 launcher-logind: weston sometimes failed to start when booting up from eMMC d5ad97f2 g2d-renderer: use dmabuf.attributes.stride for video stride 23166110 LF-3992 state-propose: fix chromium cannot show on 8mq platform ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Update base portion of recipeTom Hochstein2022-01-296-6/+104
| | | | | | | Update the base portion of the i.MX fork recipe to the latest OE-core recipe c8aa0222ce2be647911114aaebcbb0d55d7caf87. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Rework SRC_URITom Hochstein2022-01-291-5/+3
| | | | | | | Rework the i.MX SRC_URI override so it's clear what is changed and what is inherited. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland-protocols: Upgrade to 1.22.imxTom Hochstein2022-01-291-2/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-apitrace: Upgrade to 10.0.0Tom Hochstein2022-01-292-11/+8
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-g2d-samples: New recipe for G2D sample appsTom Hochstein2022-01-291-0/+22
| | | | | | | | The G2D sample apps are now available as source. Note that the package is currently limited to GPU-based G2D and is not compatible with DPU-based G2D. A future release will add DPU support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-g2d: Upgrade to 6.4.3.p2.4Tom Hochstein2022-01-292-39/+31
| | | | | | | This version has the sample apps removed, available now in the new recipe imx-g2d-samples. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-g2d: Consolidate G2D recipes in single folderTom Hochstein2022-01-292-0/+0
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Upgrade to 6.4.3.p2.4Tom Hochstein2022-01-294-46/+18
| | | | | | | | - x11 is no longer supported - dri is no longer supported - remove vestiges of 64-bit framebuffer on Wayland, which is no longer supported Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: Upgrade to 2.4.107.imxTom Hochstein2022-01-281-3/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libsdl2: follow oe-core's move to cmakeMax Krummenacher2022-01-151-1/+1
| | | | | | | 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>
* Merge pull request #907 from thochstein/masterOtavio Salvador2021-11-011-9/+11
|\ | | | | imx-gpu-viv updates for 6.4.3.p2.2
| * imx-gpu-viv: Install SOC-specific binariesTom Hochstein2021-10-311-0/+11
| | | | | | | | | | | | The archive now contains SOC-specific binaries. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * imx-gpu-viv: Drop SOC-specific header installationTom Hochstein2021-10-311-9/+0
| | | | | | | | | | | | | | 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>
* | imx-gpu-viv: Expose Vulkan library versionTom Hochstein2021-10-311-2/+5
|/ | | | | | | Expose the Vulkan library version so NXP can easily override in their layer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* waffle: Forward port Separate-surfaceless-option-from-x11 patch as wellKhem Raj2021-10-291-10/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* waffle: Forward port the patch to latest waffleKhem Raj2021-10-291-15/+13
| | | | | | OE-core has new version Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-gpu-g2d: upgrade to 6.4.3.p2.2Andrey Zhizhikin2021-10-221-5/+5
| | | | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-dpu-g2d: upgrade to 1.9.4Andrey Zhizhikin2021-10-221-4/+4
| | | | | | Add runtime dependency to libopencl-imx. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-gpu-viv: upgrade to 6.4.3.p2.2Andrey Zhizhikin2021-10-224-9/+9
| | | | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-gpu-viv: skip QA check for libgl-imx packageAndrey Zhizhikin2021-10-221-0/+4
| | | | | | | | | | | | 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>
* 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>