Age | Commit message (Collapse) | Author |
|
When building weston for imxgpu2d machine, CFLAGS doesn't get
EGL_CFLAGS value and cause the error bellow:
| ../build/tmp/sysroots/imx6sl-warp/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized"
| #error "Platform not recognized"
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 0296938d6316fe9d5b41d5a0ec8a2eb8200b7d3f)
|
|
There is no need to force the PACKAGE_ARCH as it is automatically set
correctly for i.MX based machines and left unmodified otherwise.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
When moving to weston 2.0.0 fork, it also included a copy of weston
recipe and it is not needed for rocko as this is the version available
in the branch.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
EGL support was removed from the fbdev compositor in Weston 2.0. Add
it back via an i.MX fork.
This has been verified with imx-gpu-viv v6 only.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
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>
|
|
As EGL support was removed from weston on commit:
https://github.com/wayland-project/weston/commit/e77f8ad79bdf3613dc7e587ea0cf5b9d39e4f8e0
we can't use version 2.0.0.
Add latest version with EGL support, 1.11.1 and set mx6 and mx7
machines to use this version.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The previous patch had a logic error. The upstream submission
was correct, so this just synchronizes the patch.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This is a non-functional change with one small exception, an additional
variable initialization that has no known behavioral effect:
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Pressing the touch panel continously during boot up caused
weston to crash. The weston view was being accessed before it
was fully initialized, so now we guard against this.
Upstream-Status: Denied [Could not reproduce]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
To restore command-line compatibility, reverting back to
integer-based renderer selection syntax:
weston [--use-gl=0|1] [--use-g2d=0|1]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Starting an xterm with no input device led to a crash
because weston_wm_pick_seat() was returning garbage and
weston_wm_selection_init() was trying to use the garbage.
Upstream-Status: Accepted [https://cgit.freedesktop.org/wayland/weston/commit/?id=e7fff215ada3fd3d1b2af664888f960c082f9065]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Refine offset calculation.
Upstream-Status: Inappropriate [i.MX specific]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
It need add g2d_finish after repaint_region and before copy to framebuffer.
Because if using dual dpu cores, the tasks on each core will be executed
sequently, but it can't ensure one task splited on dual cores can be finished
synchronously by hardware.
Upstream-Status: Inappropriate [i.MX specific]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
For SoCs with no GPU, configure weston to use the software versions
of egl and gles through mesa.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Weston requires egl and glesv2 together, or neither. Since the i.MX 6SL
can only provide egl, we configure weston to work without egl. A build
break occurred due to i.MX patches which should not be applied for 6SL.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The IMX-GPU driver now provides compiler settings through pkg-config,
so don't set them explicitly. The package had to be patched to
link the compositor to egl.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Rework variable implementation (using SoC override) so that
the value does not contain a duplication.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Expose more variale to G2d compositor, because it is not easy to get the physical address
in G2d compositor.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Fix the stride setting error in the fbinfo.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Replace gcoOS_WaylandCreateVivGlobal with eglBindWaylandDisplayWL.
Fix a width set error in g2d_renderer_attach_shm.
Use noncached buffer in weston shm buffer.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Support showing the same contents on multiple displays.
Use the following command to enable multi-display:
openvt -v -- weston-launch -- --idle-time=0 --use-g2d=1 --device=/dev/fb0,/dev/fb4 --clone-mode --log=/var/log/weston.log
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change i.MX renderer from gal2d to g2d API.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The i.MX SoCs which provides support for GPU 2D but lacks GPU 3D
should drop the EGL use. This fixes the i.MX6SL build errors seen in
O.S. Systems autobuilders.
Reported-by: Tom Hochstein <tom.hochstein@nxp.com>
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 recipe has been reworked to use the 'imxpxp', 'imxgpu2d' and
'imxgpu3d' feature overrides. While on that, the i.MX6UL specific code
has been reworked to used when only PXP-only support is available,
fixing the i.MX7D support as well.
Change-Id: Ieaae9f95bd7ace58df7bccdab19b42ad35f44f5e
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The weston window manager failed to start on i.MX 6UltraLite EVK.
6UL has no GPU, so we need to use pixman. Fixed by removing
EGL/GLES support, and by configuring to use Framebuffer backend
as native.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
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>
|
|
Change-Id: Ideb91234d9aba465968f278955e74c13248cc1c7
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
These set of patches are required to address the issues with weston 1.9
Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
- Patch to fix setenv and clear environments.
- Patch to fix screen blur for Qt5 CinematicExperience.
Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
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>
|
|
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>
|