summaryrefslogtreecommitdiffstats
path: root/meta-agl-drm-lease/README.md
diff options
context:
space:
mode:
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>2021-02-04 16:13:41 +0900
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>2021-03-09 17:25:21 +0900
commit3d7b404d4e6a02f05a5c1d39a16a096b37cc506a (patch)
tree0fb6e3e59a7971af0f8648de6c88b6f343ee3a47 /meta-agl-drm-lease/README.md
parent92d67bf9c0385ce2513bf7bf0001f27223d750fd (diff)
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 <dhobsong@igel.co.jp>
Diffstat (limited to 'meta-agl-drm-lease/README.md')
-rw-r--r--meta-agl-drm-lease/README.md13
1 files changed, 11 insertions, 2 deletions
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-<output name>`
(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=<lease name>` option. Eg:
+```
+ # weston --drm-lease=card0-HDMI-A-1
+```
+
## Running kmscube sample
With the `drm-lease-manager` running `kmscube` can display on any available