| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
|
| |
Change kmsdev to more correct /dev/dri/card1
(cherry picked from commit fa0def5452bbcbb332b75a8b528d6f0fcf78cce7)
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 8a19c8c576ede98c41f45773c2376ad69389907b)
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit a4f772cab24996be79e6dfc26f0b7a3c740468ca)
|
|
|
|
|
|
|
| |
i.MX GPU drivers don't support GLX.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit d9df3c4efa829288478d1c5bb90af938a3dfc30b)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 7c8cca4595df4c6b991b82720a571e0e6329f0cd)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
This version uses G2D API 2.0.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 89f0d22235b27d0c13452093ff2211333cb7aa9c)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
There is a root cause to this that will be fixed instead.
This reverts commit 6be9870b5057cf122cecb2716583169b39de78ae.
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
It depends on imx-gpu-g2d recipe which is specific to imxgpu2d machine
types
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The customized weston.ini is installed in the rootfs with an unresolved
bindir variable.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
imx-gpu-viv updates for 6.4.3.p2.2
|
| |
| |
| |
| |
| |
| | |
The archive now contains SOC-specific binaries.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
| |
Expose the Vulkan library version so NXP can easily override in their
layer.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
OE-core has new version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
| |
Add runtime dependency to libopencl-imx.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
| |
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|