X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-drm-lease%2FREADME.md;h=680e72ff9d88c8ca645ae625147a4b3242e16907;hb=7c7ce9c76e2fbf0c019b41d253da45bad3eda518;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..680e72ff 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 @@ -52,3 +61,6 @@ Multiple kmscube instances (one per DRM lease) can be started at the same time. This layer has been tested on the Renesas R-Car Gen3 platform. Other platforms supporting the Linux DRM API may work as well. + +maintainer: agl-dev-community@lists.automotivelinux.org +patch: agl-dev-community@lists.automotivelinux.org