weston: add weston-imx variant when using imx-gpu-viv
authorGary Bisson <gary.bisson@boundarydevices.com>
Wed, 16 May 2018 15:52:01 +0000 (17:52 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 6 Feb 2019 16:42:53 +0000 (17:42 +0100)
commit18fb3abad1ae4188ecd9342a005a58f940538757
tree5c3d9da2e5f69d60fa18b622877a713f22666b78
parentfee29b05bb7db25e37c8a5175ce00dc712554edf
weston: add weston-imx variant when using imx-gpu-viv

This variant contains various optimizations for i.MX processors.

For instance, on i.MX6/7 devices with GPU, the gl-renderer needs to be
enabled for the fbdev-backend which was removed from upstream weston
long time ago.

Also, weston-imx adds support for G2D which is enabled by default, this
patch makes sure to disable it when imx-gpu-g2d isn't selected.

The tag version rel_imx_4.9.51_8mq_ga proved to work fine on both
i.MX6Q/DL and i.MX8MQ processors.

Here are the commands used to start weston on i.MX6Q:
- Using 3D GPU (gl-renderer):
 # weston --tty=1 --device=/dev/fb0
- Using 2D GPU (G2D):
 # weston --tty=1 --device=/dev/fb0 --use-g2d=1

Upstream repository:
https://source.codeaurora.org/external/imx/weston-imx/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Arnout: add comment why no --enable option is passed]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/weston/weston.hash
package/weston/weston.mk