X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-drm-lease%2FREADME.md;h=b572fbce3fbcf128f89acbe42e7d0a5e21f01ac3;hb=693643f490137e5f47db9293b22d2779956ce8f8;hp=e397e6a357d27bbcd4f50eabea64f72253281da9;hpb=92d67bf9c0385ce2513bf7bf0001f27223d750fd;p=AGL%2Fmeta-agl-devel.git diff --git a/meta-agl-drm-lease/README.md b/meta-agl-drm-lease/README.md index e397e6a3..b572fbce 100644 --- a/meta-agl-drm-lease/README.md +++ b/meta-agl-drm-lease/README.md @@ -14,14 +14,15 @@ 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 ``` -IMAGE_INSTALL_append = " kmscube" +IMAGE_INSTALL:append = " kmscube" ``` ## Starting the DRM lease manager @@ -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