summaryrefslogtreecommitdiffstats
path: root/meta-agl-drm-lease/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
2022-04-11meta-agl-drm-lease: rename Weston bbappendScott Murray1-0/+0
Rename Weston bbappend for upgrade to 10.0.0 in poky kirkstone, this will at least avoid parse errors, further investigation is required to get the local changes building. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I17b3e5cea93bb097d48a5ce4e7964987191e4f50
2022-03-07meta-agl-drm-lease: Add DRM lease support to agl-compositorDamian Hobson-Garcia3-0/+221
Allow agl-compositor to use a DRM lease as its output so that it can be run in parallel with weston or other applications that output via a DRM lease. This will also allow the agl-demo-platform GUI to start on boot when the agl-drm-lease dist feature is enabled. AGL-Bug: SPEC-3838 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: I32f25eec1931fa93c563f5bc99edc9bfda132342
2022-03-07drm-lease: Make drm-lease-manager sockets available to video groupDamian Hobson-Garcia1-0/+2
The default udev rules give read/write aceess to DRM devices for members of the "video" group. Use similar settings for drm-lease-manager's lease sockets. AGL-Bug: SPEC-3838 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: I214046d098905465a99ec9e9431496cb522173fb
2021-10-27Fix fuzz for 0004-launcher-direct-handle-seat0-without-VTs.patchNaoto Yamaguchi1-6/+6
The drm-lease patch cause fuzz in weston building. Applying patch 0004-launcher-direct-handle-seat0-without-VTs.patch patching file libweston/launcher-direct.c Hunk #1 succeeded at 290 with fuzz 2. Hunk #2 succeeded at 302 (offset -2 lines). This patch update that patch. Bug-AGL: SPEC-4106 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I9bac494e712f3cb8d13576c57d81bac7631b8615
2021-08-20Convert to new override syntaxScott Murray3-8/+8
This is mostly the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. A few minor fixups were done by hand afterwards during a review of the changes. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0bbae97331abee1367b368ce54ab39e3162a12ec
2021-04-28Divide package drm-lease-manager and libdlmclientNaoto Yamaguchi1-0/+3
In guest container, the dlm client (weston,kmscube) is only to use client library, but all file is installing to guest. This patch divide package drm-lease-manager and libdlmclient. Bug-AGL: SPEC-3892 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp> Change-Id: I3fe15c28213f15455c9fb0ae441cc773c0ea5bd7
2021-04-22Rework for drm-lease-manager.serviceNaoto Yamaguchi1-0/+5
The drm-lease-manager.service is losing some discriptions such as 'After', 'Wants' and 'Type'. When 'After' and 'Wants' is not having, the drm-lease-manager service can't enable. This patch add these configurations. Bug-AGL: SPEC-3892 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp> Change-Id: Ic95b2df33a0be61cd318e900da58efa02c189dc7
2021-04-16drm-lease: Update to latest versionDamian Hobson-Garcia1-1/+1
Adds support for detecting when a lease client application crashes and preventing the screen from blanking. Bug-AGL: SPEC-3862 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: I7ae74087ccb2d847bc6fd1b0bfe4585459c98657
2021-04-06libweston: Don't request repaint in output enableDamian Hobson-Garcia2-0/+37
Allow for the compositor to start without first displaying a blank screen when no startup transition is used. This patch is under review in the mainline weston repository. It should be useable for other use cases besides drm-lease, but right now this patch causes the weston test suite to fail by unconvering an unrelated problem with wayland event handling[1]. For now, keep this with the drm-lease support under agl-devel until the weston test suite issue is resolved and the patch is merged upstream. [1]: https://gitlab.freedesktop.org/wayland/wayland/-/issues/201 Bug-AGL: SPEC-3816 Change-Id: Ib5a2f0dde833d88a17bd4e659ff1acee81acd21f Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2021-04-06drm-lease: Add seamless-transition supportDamian Hobson-Garcia1-1/+1
Update DRM lease manager to add DRM lease transition support. Bug-AGL: SPEC-3816 Change-Id: Ie8f003548db23b4d9f824c76e7927e4aebe67ceb Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2021-03-17drm-lease: Disable weston TTY switchDamian Hobson-Garcia3-1/+108
When running multiple instances of weston using the drm-backend, TTY switching should be disabled, so that both instances can be displayed at the same time. Backport patches from weston upstream that will disable TTY switching when either: * Any seat other than seat0 is used (multi-seat) * There are no real TTY devices available (often true when running in a container) Also, modify the layer priority and SRC_URI append style to make these patches apply after the AGL appfw layer to avoid patch fuzz warnings during build. Bug-AGL: SPEC-3730 Change-Id: Ie9bed50b1c3f60129b1efae95aa77bfcea45f568 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2021-03-09drm-lease: Add weston DRM lease integrationDamian Hobson-Garcia3-0/+443
Allow option for weston to use a DRM lease instead of the primary DRM device node when using the DRM backend. EGL clients will require a wayland EGL driver than can does not need DRM authentication. e.g. an implementation based on DRM render nodes. Bug-AGL: SPEC-3730 Change-Id: I12f6d5b5df62a90702431010ab685e3b0654912b Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2021-03-05Add agl-drm-lease featureDamian Hobson-Garcia6-0/+324
The agl-drm-lease feature will add the DRM lease manager and client library to the current image. DRM lease support is also added to the kmscube test utility if it is installed. Bug-AGL: SPEC-3729 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: I75cfbc363724916202ec15bb71813f49d6b560eb