From dfba12546f32593970cf60baaef59515a3fc1aef Mon Sep 17 00:00:00 2001 From: Damian Hobson-Garcia Date: Fri, 8 Apr 2022 15:40:07 +0900 Subject: drm-lease: add drm-lease-manager configuration for RPi4 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 --- meta-agl-drm-lease/conf/layer.conf | 2 ++ .../drm-lease-manager/drm-lease-manager-init.bbappend | 2 ++ .../drm-lease-manager/drm-lease-manager-init/drm-lease-manager.ini | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend create mode 100644 meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/drm-lease-manager/drm-lease-manager-init/drm-lease-manager.ini diff --git a/meta-agl-drm-lease/conf/layer.conf b/meta-agl-drm-lease/conf/layer.conf index 36bfbd3b..5e9b7d75 100644 --- a/meta-agl-drm-lease/conf/layer.conf +++ b/meta-agl-drm-lease/conf/layer.conf @@ -13,6 +13,8 @@ BBFILES_DYNAMIC += " \ rcar-gen3:${LAYERDIR}/dynamic-layers/meta-rcar-gen3/*/*/*.bbappend \ qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*.bb \ qt6-layer:${LAYERDIR}/dynamic-layers/meta-qt6/*/*/*.bbappend \ + raspberrypi:${LAYERDIR}/dynamic-layers/meta-raspberrypi/*/*/*.bb \ + raspberrypi:${LAYERDIR}/dynamic-layers/meta-raspberrypi/*/*/*.bbappend \ " # This should only be incremented on significant changes that will diff --git a/meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend b/meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend new file mode 100644 index 00000000..371f6539 --- /dev/null +++ b/meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend @@ -0,0 +1,2 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" +SRC_URI = "file://drm-lease-manager.ini" diff --git a/meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/drm-lease-manager/drm-lease-manager-init/drm-lease-manager.ini b/meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/drm-lease-manager/drm-lease-manager-init/drm-lease-manager.ini new file mode 100644 index 00000000..fbab74a7 --- /dev/null +++ b/meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/drm-lease-manager/drm-lease-manager-init/drm-lease-manager.ini @@ -0,0 +1,7 @@ +[[lease]] +name="lease0" +connectors=["HDMI-A-1"] + +[[lease]] +name="lease1" +connectors=["HDMI-A-2"] -- cgit 1.2.3-korg