summaryrefslogtreecommitdiffstats
path: root/meta-agl-drm-lease
AgeCommit message (Collapse)AuthorFilesLines
2024-12-09Repair drm lease patch for agl-compositorNaoto Yamaguchi3-56/+24
After the c8f26648ef9ed09ca842fd81202802b73a07f789, The drm lease support patch for agl-compositor can't apply. It causes build error in container guest environment for AGL demo IVIs. This patch updates drm lease support patch to fix build error. Bug-AGL: SPEC-5318 Change-Id: Ifd257d30c8a676e4a17869458336b4e08d2ffb8e Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-25Add SECURITY.md file as required now by upstreamJan-Simon Moeller1-0/+19
YP now requires this file to be present. Add it. Bug-AGL: SPEC-5309 Change-Id: I9f30f7754ab808a86c75866d7541d9549464c929 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-10-09Rework Qt6 eglfs drm lease support patch for Qt 6.7Naoto Yamaguchi2-23/+21
Existing drm lease support patch was developed for Qt6.2 LTS. Current AGL master uses Qt6.7. This patch rework to use drm lease support in Qt 6.7. Bug-AGL: SPEC-5162 Change-Id: I24b2ffeb02ed371abc167113f573970ebc1464ee Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-09-20Update drm-lease-manager to support NanoPC T6 boardNaoto Yamaguchi1-2/+2
The drm-lease-manager was already improved to support Rockchip RK3588 drm driver by 901f400634395f3a73648b1515de7f4f4c5a831f at https://git.automotivelinux.org/src/drm-lease-manager This patch enables this change. Bug-AGL: SPEC-5246 Change-Id: Ib9158841139e849bc254893cd33f11b7db265fb2 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-08-17Fix drm lease name optionNaoto Yamaguchi1-1/+1
In quillback and previous releases, the agl-compositor drm lease name option is "--drm-lease". In change 9aa2c662, the drm lease option was changed to "--drm-lease-name", breaking compatibility. This patch changes the option from "--drm-lease-name" back to "--drm-lease". Bug-AGL: SPEC-5158 Change-Id: I7dfdc4cc5d85a1bf24270e3b8a5e93bc3d7719d5 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-06-27agl-compositor_git: Add minor fix for DRM leasesalmon_18.90.0salmon/18.90.018.90.0Marius Vlad2-1/+36
Missing drm_lease_name would case device fd to return always a negative integer. Bug-AG: SPEC-5160 Change-Id: If8cf51c8dab4862f9d00e5265cc4b2b20d3229c3 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2024-05-05agl-compositor: Update/port patches for AGL compositorMarius Vlad1-41/+52
Bug-AGL: SPEC-5123 Change-Id: If1c541a1bad718ee7bc7634c0ccc83892fdf4a0e Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2024-05-05weston: Update/port patches for Weston 13Marius Vlad3-126/+120
Bug-AGL: SPEC-5123 Change-Id: I1c1c59878c1975d8de278cee9a28ec9161c337bf Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2024-05-02meta-agl-drm-lease: forward port patch to mesaJan-Simon Moeller2-8/+9
This updates the patch in the dynamic layer. Bug-AGL: SPEC-5123 Change-Id: I4c3b10b1f1ef8db7b8f45aa9fb56e7de7aa9746b Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-05-01meta-agl-drm-lease: update weston bbappendScott Murray1-0/+0
Update weston bbappend version to handle upgrade to YP scarthgap. Further work is required to rebasing the DRM lease patches against Weston 13.0. Bug-AGL: SPEC-5123 Change-Id: Iea4753741c3cdda6145afbec2352c91b73295621 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-04-24Add Yocto Project scarthgap release compatibilityScott Murray1-1/+1
Switch to scarthgap in LAYERSERIES_COMPAT in layer.conf files. Bug-AGL: SPEC-4578 Change-Id: I50e341efd6a317a830352d44db1cd756d3589861 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-06-12Fix a parse error for weston and kmscubepike_15.91.1pike_15.91.0pike/15.91.1pike/15.91.015.91.115.91.0Naoto Yamaguchi2-2/+2
After the this patch https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/28877 These recipe out error for patch file not found. This patch fix to it. Bug-AGL: SPEC-4825 Change-Id: Ic8aa59f3571ed873f62a0513d85c77764407bc1b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-31Ensure meta-agl-drm-lease does pass yocto-check-layer and has ↵Jan-Simon Moeller12-61/+111
run-yocto-check-layer.sh scripts Ensure the layers do pass again and that the scripts are up-to-date. Bug-AGL: SPEC-4680 Bug-AGL: SPEC-4686 Change-Id: Id1279d4a43b89d50731dd85e9347d35d524e14b7 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-30Improvement to psplash recipe using service overrideNaoto Yamaguchi2-6/+9
Last psplash patch has some HACK implementation for drl lease support. It cause complex change to psplash service file. This patch fix this issue reusing sandbox/ishii.hiroyuki/psplash-drm, that is worked by ishii hiroyuki. Bug-AGL: SPEC-4804 Change-Id: I350a4627b8062ec418016a72b20af2e9d0f2a9a0 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Enable lease transfer option at drm-lease-managerNaoto Yamaguchi1-1/+1
When leaser side has two or more drm master such as splash screen and compositor, drm master need to transfer from early user(splash) to main(compositor) user. This patch enable lease transfer option at drm-lease-manager. Bug-AGL: SPEC-4777 Change-Id: Ide31167888d34f482a7e20b93e7364c46aa580b8 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Enable drm-lease support at psplashNaoto Yamaguchi18-0/+4436
The upstream version of psplash is supporting fb based splash screen. On the other hand, drm lease infrastructure is not support fb. This patch enable drm-lease support at psplash. This work contributed by Hiroyuki Ishii at CES2023 demo development. Bug-AGL: SPEC-4766 Change-Id: I50b382c7f8ca4b46a8fb06fd649d0cfa49800c6d Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2022-11-03agl-compositor: Fix drm-lease patchMarius Vlad1-16/+15
Synchronize with AGL compositor and update the drm-lease patch to allow the AGL compositor to build. Bug-AGL: SPEC-4601 Change-Id: Ia76c0de7269917cebe19c7b789b62646de1f7914 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2022-09-17drm-lease: Bump SRCREV to fix ptest build failureDamian Hobson-Garcia1-1/+1
Bug-AGL: SPEC-3848 Change-Id: Iafba35a4fedf81b09edef57d7610d3714023cbae Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2022-09-16drm-lease: Fix build error due to weston updateHiroyuki Ishii1-0/+0
The patches seems to be applied correctly without any changes, so we just use wildcard to avoid build error due to version mis-matching. Bug-AGL: SPEC-4564 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: I61ab8beb1e97190c58987bf54217a9553efa6c39
2022-07-25drm-lease: Update agl-compositor supportDamian Hobson-Garcia1-11/+11
Update the DRM lease support for agl-compositor to reflect upstream changes. Bug-AGL: SPEC-4472 Change-Id: I306e02a6a7cc0a7046531f8d2ee09d808e69fcbd Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2022-07-14drm-lease-manager: Enable systemd notify supportHiroyuki Ishii2-2/+5
We'd like to enable this for solving some timing issue between drm-lease-manager and lxc in lxc-host-image-demo. Bug-AGL: SPEC-4427 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: I60b7b0cfd8f5caee4cf0bfc9b9828edfd700b12a
2022-06-09Revert "drm-lease-manager: Add lease-manager deamon to runtime dependencies"Naoto Yamaguchi2-4/+0
The original patch added drm-lease-manager runtime dependency to wayland compositor recipes. As a result, when wayland compositor install to image, drm-lease-manager is force install to that image. In case of container integrations, drm-lease-manager shall install to one root file system image only. Because drm master (leaser) can run only one process in one linux system. This patch broke this limitations silently. The other images of rootfs with drm-master cause runtime error of drm-lease-mabager. This runtime dependency need to delete. Bug-AGL : SPEC-4373 This reverts commit 0452f5635eac8105a7fb3bd4fb78af1f016c7ee7. Change-Id: Ifc471f2597e43897c0c2315851258d62b832ac8e Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2022-04-27drm-lease: Add missing pkgconfig dependency to drm-lease-managerDamian Hobson-Garcia1-1/+1
Make sure that pkgconfig, which is necessary for compilation, is properly specified as a build dependency. Bug-AGL: SPEC-3815 Change-Id: I107b410c5c27ec824cd446db1339bb9a3ab603a3 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2022-04-27drm-lease: Update support for weston 10.0Damian Hobson-Garcia6-181/+72
Rebase drm-lease patches and remove changes that have already been applied upstream. BUG-AGL: SPEC-3815 Change-Id: Id524d221f91d0bdbac44c148e2983fab900070eb Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2022-04-27drm-lease: RPi4: Disable DRM_AUTH checks on wayland_clientsDamian Hobson-Garcia2-0/+46
DRM authentication does not work via a DRM Leases because the client can only authenticate against a lease owner (primary node), since the lease does not have a corresponding device file in the filesystem for clients to open. Bypassing DRM authentication by using render nodes is not yet fully supported in mesa, so for now, just try to authenticate and continue even if it fails. Bug-AGL: SPEC-4317 Change-Id: Ie6c82162037964da697d3ece80a8c463980d2658 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2022-04-27drm-lease: add drm-lease-manager configuration for R-CarDamian Hobson-Garcia2-0/+9
Add a drm-lease-manager configuration file that reflects the available outputs on the renesas R-Car. Also adds the extra HDMI output from the kingfisher board if available. Bug-AGL: SPEC-3815 Change-Id: Idfccd63cbbba8e118df501e575625769f0ced293 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2022-04-27drm-lease: add drm-lease-manager configuration for RPi4Damian Hobson-Garcia3-0/+11
Add a drm-lease-manager configuration file that reflects the available outputs on the RPi4. Bug-AGL: SPEC-3815 Change-Id: I75971dae1abb8fdb8147c98a2e9ca928ef5b9fe7 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2022-04-27drm-lease-manager: Add configuration file suppportDamian Hobson-Garcia6-4/+47
Use latest drm-lease-manager version and add a generic lease manager configuration file. Platforms should override this with something appropriate for their system. Bug-AGL: SPEC-3815 Change-Id: I3c0a4b137e53dab7ff2782791cfca951e4c14e13 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2022-04-27drm-lease-manager: Add lease-manager deamon to runtime dependenciesDamian Hobson-Garcia2-0/+4
The build dependency only adds the DRM lease client package to the built image. Since the client and server packages have been separated, the server needs to be explicitly added to the runtime dependencies in order to be included. Bug-AGL: SPEC-3815 Change-Id: I60429ba0431dde8628b35eeac1a3ea72933c2a9f Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2022-04-27drm-lease-manager: Rebase agl-compositor support patchDamian Hobson-Garcia1-9/+9
Rebase the patch so that it can be applied to the latest mainline code. Bug-AGL: SPEC-4297 Change-Id: Ib0e413e6aa8e9079a8a2ab8af1ec2691ec00308e Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
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-24Declare layer compatibility with kirkstoneScott Murray1-1/+1
For tracking upstream, we need to update the layer compatibility. Bug-AGL: SPEC-3819 Change-Id: I23423baa371ed1b8b4a9024d9ac6f0c4d7e48185 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-03-08Extend drm-lease-manager support - Qt6.x eglfs-kmsNaoto Yamaguchi4-0/+338
The drm-lease-manager has capability for other drm client support. This patch extend support. Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I6f4b66e63e8662dca4679f18955f7fc693bbdf3d
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
2022-02-26Revert "BUG FIX: Some guest apps don't show own GUI frequently"Naoto Yamaguchi3-98/+0
This reverts commit 73c5c413ce8f3c9a0c47180bfd5df87494be9842. This patch is workaround for wayland-wsegl in BSP5.5. In BSP 5.9, this issue was resolved. GL-Bug : SPEC-4269 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I7bb3b83e6347b2ccce74389aad7df864f155068b
2022-02-26Update render node patch to fix build error in BSP 5.9Naoto Yamaguchi2-6/+8
After BSP 5.9 is merged, linux-renesus fail building in drm-lease environment. It causes bsp kernel change at https://github.com/renesas-rcar/linux-bsp/commit/cd7ad23ceb3cbe67263ded2621dda08b4583b0f4 This patch update old patch to fix this build issue. AGL-Bug : SPEC-4269 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Iea8f37c9dbd766a971693a637cd4d90b35d4eef0
2021-11-17BUG FIX: Some guest apps don't show own GUI frequentlyNaoto Yamaguchi3-0/+98
Some guest apps don't show own GUI frequently. This bug is caused by wayland-wsegl, but it is depend on drm-lease environment use case. This bug was fixed in https://github.com/renesas-rcar/wayland-wsegl/commit/5a0a17bc0dafe577ec02ad2205c25bc8acb2c5e6 https://github.com/renesas-rcar/wayland-wsegl/commit/10c7f13a3d868d489054d8af4463bb68036055c6 But that fixed version can't use in Renesas BSP 5.5. This patch backport those patch to Renesas BSP 5.5 environment. Bug-AGL: SPEC-4134 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ief99ced0cd83348583d8e578f101ec724eec0450
2021-11-02Update github.com git:// SRC_URIsmarlin_12.90.1marlin/12.90.112.90.1Scott Murray1-1/+1
GitHub is dropping unauthenticated git protocol access in January 2022, per: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git While a workaround in the BitBake git fetcher is forthcoming, not specifying protocol=https for github.com git:// SRC_URIs will start resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade path, go ahead and update our affected SRC_URIs. Note that this has been done by running the scripts/contrib/convert-srcuri.py script from latest poky, which also makes git branch specification explicit since the git fetcher is likely to require that in the future due to widespread switches from master to main branches. Bug-AGL: SPEC-4126 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic3550f08b92916bede2f21442499836b882f2db8
2021-10-29[RCAR] Dynamic-layer update rcar-du support for BSP v5.5.0Ronan Le Martret1-3/+3
Bug-AGL: SPEC-4081 Change-Id: I1d8b3b0bdb9d969cfe25e76915965a21f0612fcc Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
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 Murray5-11/+11
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-06-07meta-agl-drm-lease: Improve usabilitylamprey_11.92.0lamprey/11.92.011.92.0Scott Murray5-1/+6
Changes: - Switch to using AGL_FEATURES instead of just directly modifying IMAGE_INSTALL in the feature template. - Move rcar3 kernel recipe bbappend to a dynamic-layer addition so the layer is usable on other platforms. Bug-AGL: SPEC-3955 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie109cc3606d68d354aae9d902a60ef82272244bf
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: 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>