From 3d7b404d4e6a02f05a5c1d39a16a096b37cc506a Mon Sep 17 00:00:00 2001 From: Damian Hobson-Garcia Date: Thu, 4 Feb 2021 16:13:41 +0900 Subject: drm-lease: Add weston DRM lease integration 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 --- meta-agl-drm-lease/README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'meta-agl-drm-lease/README.md') diff --git a/meta-agl-drm-lease/README.md b/meta-agl-drm-lease/README.md index e397e6a3..2c5ba05d 100644 --- a/meta-agl-drm-lease/README.md +++ b/meta-agl-drm-lease/README.md @@ -14,9 +14,10 @@ Enable the `agl-drm-lease` AGL feature when setting up your build environment with aglsetup.sh. This will add the `drm-lease-manager` package to the image, and will add DRM -lease support to some packages. +lease support to the following packages: + * weston + * kmscube -Currently, only the `kmscube` sample application has support for DRM lease. `kmscube` is not included in the image by default. To add the package to the image, add the following to your local.conf @@ -37,6 +38,14 @@ This will create 1 lease for each output connection on the platform. The name of each lease will be in the form of `card0-` (eg. `card0-LVDS-1` or `card0-HDMI-A-1`) +## Running weston + +weston can be started on any available DRM lease by running with the +`--drm-lease=` option. Eg: +``` + # weston --drm-lease=card0-HDMI-A-1 +``` + ## Running kmscube sample With the `drm-lease-manager` running `kmscube` can display on any available -- cgit 1.2.3-korg