summaryrefslogtreecommitdiffstats
path: root/meta-agl-drm-lease
AgeCommit message (Collapse)AuthorFilesLines
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: Enable DRM render node on R-CarDamian Hobson-Garcia3-0/+71
When using DRM lease, wayland clients applications must be able to create an EGL context without DRM authentication. The latest R-Car OpenGL driver, can do this when the R-Car display driver must provides a render node. Enable the rcar-du render node and allow it to allocate of scanout buffers. Bug-AGL: SPEC-3730 Change-Id: Iae4f74afb69de3a7f9ddf3ec5113938ade81fda4 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2021-03-17drm-lease: Disable weston TTY switchDamian Hobson-Garcia4-2/+109
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-Garcia4-2/+454
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-Garcia10-0/+411
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