| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently the settings for i.MX8 are fixed to only allow to use
OSMesa for offscreen rendering. Actually etnaviv is usable on
i.MX8MM an it should therefore be possible to let Gallium be
enabled instead of unconditionally disabling it.
Therefore we introduce the USE_OSMESA_ONLY variable, that can be
set to "no" for i.MX8 if etnaviv should be used just like for i.MX6.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
(cherry picked from commit deb2f61f227dcb31ed41629c98e5e5e1edf3afec)
|
|
|
|
|
|
|
|
|
| |
We don't need to manipulate the GALLIUMDRIVERS variable. Setting the
correct PACKAGECONFIG options is enough as the main recipe handles
the rest.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
(cherry picked from commit 494ed8c9b7b211397ce621a36345539a23433ecc)
|
|
|
|
|
|
|
|
|
| |
The eglut_wayland event loop is properly fixed, so the simple workaround
patch is no longer necessary.
https://gitlab.freedesktop.org/mesa/demos/commit/c539078c5fa592134f6f8a95be51c8eb318f5c39
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
The Freedreno allows the i.MX53 SoC to run using the mesa as
rendering, thus providing GPU support.
Change-Id: I9bf08503f8c6020d50a2395fc27b15cb797cbba6
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
The override imxgpu was added some time ago since it is
possible to have 3D support without 2D support.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
This allows a Weston build with swrast enabled to
successfully build and boot on imx8m-evk board.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After mesa update to 19.1.0, the OSMesa is not anymore explicitly set to
'classic' rather than defaults to 'none'. If the DRI driver is included
in the build and neither gl nor 'classic' osmesa is used - this causes
the build to fail.
This commit disables the gallium for mx8mm, sets the dri drivers to
swrast and explicitly defines the 'classic' osmesa to be built.
gallium is disabled since current support state of i.MX8M Mini GPU in
gallium is unknown.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using etnaviv,kmsro,vc4 as GALLIUMDRIVERS with imx25pdk machine
fails with error:
-----
/
| {standard input}: Assembler messages:
| {standard input}:252: Error: selected processor does not support `vldm ip,{q0,q1,q2,q3}' in ARM mode
| {standard input}:253: Error: selected processor does not support `vst1.8 d0,[lr],r8' in ARM mode
| {standard input}:254: Error: selected processor does not support `vst1.8 d1,[r3],r8' in ARM mode
| {standard input}:255: Error: selected processor does not support `vst1.8 d2,[lr],r8' in ARM mode
| {standard input}:256: Error: selected processor does not support `vst1.8 d3,[r3],r8' in ARM mode
| {standard input}:257: Error: selected processor does not support `vst1.8 d4,[lr],r8' in ARM mode
| {standard input}:258: Error: selected processor does not support `vst1.8 d5,[r3],r8' in ARM mode
| {standard input}:259: Error: selected processor does not support `vst1.8 d6,[lr]' in ARM mode
| {standard input}:260: Error: selected processor does not support `vst1.8 d7,[r3]' in ARM mode
| {standard input}:476: Error: selected processor does not support `vldm ip,{q0,q1,q2,q3}' in ARM mode
| {standard input}:477: Error: selected processor does not support `vst1.8 d0,[lr],r8' in ARM mode
| {standard input}:478: Error: selected processor does not support `vst1.8 d1,[r3],r8' in ARM mode
| {standard input}:479: Error: selected processor does not support `vst1.8 d2,[lr],r8' in ARM mode
| {standard input}:480: Error: selected processor does not support `vst1.8 d3,[r3],r8' in ARM mode
| {standard input}:481: Error: selected processor does not support `vst1.8 d4,[lr],r8' in ARM mode
| {standard input}:482: Error: selected processor does not support `vst1.8 d5,[r3],r8' in ARM mode
| {standard input}:483: Error: selected processor does not support `vst1.8 d6,[lr]' in ARM mode
| {standard input}:484: Error: selected processor does not support `vst1.8 d7,[r3]' in ARM mode
| {standard input}:659: Error: selected processor does not support `vldm r5,{q0,q1,q2,q3}' in ARM mode
\____
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mesa 19.0.0 remove imx from gallium drivers and add kmsro, vc4 is
a kmsro dependency, so we need to enable too.
mesa commit 41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2
Author: Rob Herring <robh@kernel.org>
Date: Thu Jan 24 14:03:54 2019 -0600
Switch imx to kmsro and remove the imx winsys
The kmsro winsys is equivalent to the imx winsys, so we can switch
to it and remove the imx one.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
Signed-off-by: André Draszik <andre.draszik@jci.com>
|
|
|
|
|
|
|
|
| |
Now that wayland 1.15 provides libwayland-egl, the main mesa recipe
removes libwayland-egl from its install, so no need to repeat that here.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
The condition for GLES support was incorrect and would
remove GLES for parts with both 2D and 3D. Fix the condition
so GLES is removed only for parts with 2D and no 3D.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
usr/include/KHR is a directory, remove using rm -rf command.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
Use imxgpu override for GPU 2D or 3D condition
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
This makes use of new imxgpu override as future i.MX8M addition
requires it as i.MX8M has 3D GPU but no 2D.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
- Remove wayland-egl.pc
- Remove KHR headers
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Fix variable order and remove references to non-existent
packages.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
The gbm provide is virtual/libgbm, not gbm. Fix it.
Change-Id: Iead2f2f1bc320136f9f75730e69afe8c7ec59b11
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
The file /usr/lib/pkgconfig/wayland-egl.pc is installed by imx-gpu-viv
and we need to remove from mesa.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
to change just the PACKAGECONFIG[x11] setting (without
expansion), instead of overwriting EXTRA_OECONF (with
expansion).
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
This enables the Gallium backend and its Etnaviv driver.
Change-Id: I8557932299f54d77d10015ea125cd26322c7c07b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
The recipe was still using the mx6 specific overrides, which is
wrong. We should use the feature overrides so more SoCs can be dealt
in the generic way.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
Redo configuration using machine overrides extender.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Configure the package using the existence of 2D and/or
3D hardware.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
If distro features contains wayland, we assume a wayland backend
and configure the package accordingly.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Changes to the package configuration should be applied only
to i.MX builds.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
The recipe has been reworked to use the 'imxgpu2d' feature
override. This override has been taken as it is the common only on the
matching overrides.
Change-Id: Id9b66b2c8f7c9ebff3f7ee9413700a6b42b8278d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Update patch Add-OpenVG-demos-to-support-wayland.patch due to
changes applied in OE-Core:b851cb0a.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The mesa-gl is not in sure for the i.MX6 SoC from Quad, DualLite,
SoloX and SoloLite families. The full featured, but trimmed, mesa is
used instead.
This fixes following warning:
,----
| NOTE: multiple providers are available for runtime libgl-mesa-dev (mesa, mesa-gl)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match libgl-mesa-dev
| NOTE: multiple providers are available for runtime mesa-driver-swrast (mesa, mesa-gl)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match mesa-driver-swrast
`----
Change-Id: I082b8f7a739e4ea3cfe5f1760c7163d118e9883c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The i.MX6 UltraLite is very different from the other i.MX6 SoCs and
the current BSP infrastructure needs to be reworked to allow for more
granullar control of the features each SoC provide to control the
changes to be applied for the SoC peripherals support.
For now, it is not possible to express this clearly in the BSP so the
current change is to revert some of the changes done for the i.MX6
UltraLite to be enabled and make sure that the boards using the SoC
does not inherit the 'mx6' override.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Add patches to support both OpenVG and Wayland support.
Add configuration to enable in PACKAGECONFIG.
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Linux kernel provided by Freescale for i.MX28 and i.MX5 is too old
(2.6.35.3) and there are no plans to upgrade it, as the OE-Core is
going to use GCC 5.2 as default compiler soon and it is not possible
to compile this kernel with the new toolchain, thus the removal.
The metadata related to the i.MX23, i.MX28 and i.MX5 SoC family, which
is dependant of this Linux kernel support, has been removed in this
commit so if someone ever wants to bring it back it is easy to find
out all the necessary changes. The recipes affected are:
- alsa-state
- amd-gpu-x11-bin
- gtk+3
- imx-lib
- imx-test
- imx-vpu
- libfslcodec
- linux-imx
- mesa
- qt4-embedded-free
- qt4-x11-free
- qtbase
- xf86-video-imxfb
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
|
|
|
|
|
|
|
| |
The mesa now provide virtual/libopenvg which should be offered by the
AMD and Vivante GPU drivers. Remove it from the providers list.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Fix to support future mx6 i.MX 6UltraLite which does not have a
GPU. This SoC will use mesa so mesa changes before should be more
SoC specific to allow future mx6 SoC without GPU to use mesa.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
The replacement of --enable-glx-tls for --enable-glx was not working
due the way the variables are expanded. To fix the issue an annonymous
function has been added to mangle it just before its use.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new GPU release include new GL headers which conflict with the
ones provided by mesa. The build fails with:
,----
| ERROR: The recipe imx-gpu-viv is trying to install files into a shared
| area when those files already exist. Those files and their manifest
| location are:
|
| .../build-framebuffer/tmp/sysroots/imx6qsabresd/usr/include/GL/gl.h
| Matched in manifest-imx6qsabresd-mesa.populate_sysroot
|
| .../build-framebuffer/tmp/sysroots/imx6qsabresd/usr/include/GL/glext.h
| Matched in manifest-imx6qsabresd-mesa.populate_sysroot
`----
This removes of the mesa's headers so the ones provided by Vivante are
used instead.
Fixes [Yocto: #5098].
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Only install patches for SoC with a GPU. Future i.MX 6UltraLite
does not have a GPU.
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
Fix to support future mx6 i.MX 6UltraLite which does not have a
GPU. This SoC will use mesa so mesa changes before should be more
SoC specific to allow future mx6 SoC without GPU to use mesa.
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The meta-fsl-arm is going to be used as the base for this layer. It
contains a clean history and allowing a more granullar set of changes.
This commit is just a rename of all contents of meta-fsl-arm
subdirectory to this layer's root, subsequent changes are based on top
of that.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|