summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/dynamic-layers
diff options
context:
space:
mode:
authorHau Vo <hau.vo.ra@renesas.com>2023-10-09 15:38:14 +0900
committerHau Vo <hau.vo.ra@renesas.com>2023-10-09 15:38:14 +0900
commitee0f6865b3eb269a54b6b6e17ed0f3e669f0b2bf (patch)
tree5dbeed6d9ab3c7d7e56d3f59b58db9caf413c1ac /meta-agl-ic-container/dynamic-layers
parent0b77534d91ce0cfaf5fe1dbfbc64912d64e2b29b (diff)
Add support Salvator-x H3/M3 to IC container demooctopus
This enable lxc auto start on Salvator-x H3/M3 and specify drm interface for M3. Bug-AGL: SPEC-4808 Signed-off-by: Hau Vo <hau.vo.ra@renesas.com> Change-Id: If0518958f864ba28563632b3050d617deef3b201
Diffstat (limited to 'meta-agl-ic-container/dynamic-layers')
-rw-r--r--meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/multi-display.inc1
-rw-r--r--meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend5
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/multi-display.inc b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/multi-display.inc
index 96a3e29e..0693c060 100644
--- a/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/multi-display.inc
+++ b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/multi-display.inc
@@ -1,3 +1,4 @@
HAS_MULTI_DISPLAY ?= ""
HAS_MULTI_DISPLAY += "${@bb.utils.contains("AGL_FEATURES", "kingfisher", "1", "" ,d)}"
HAS_MULTI_DISPLAY += "${@bb.utils.contains("AGL_FEATURES", "agl-refhw-h3", "1", "" ,d)}"
+HAS_MULTI_DISPLAY += "${@bb.utils.contains("MACHINE", "salvator-x", "1", "" ,d)}"
diff --git a/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend
index 371f6539..b8621dcb 100644
--- a/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend
+++ b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend
@@ -1,2 +1,7 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI = "file://drm-lease-manager.ini"
+
+do_install:append:r8a7796() {
+ sed -i -e "s/connectors=\[\"HDMI-A-2\"\]/connectors=\[\"VGA-1\"\]/g" \
+ ${D}${sysconfdir}/xdg/drm-lease-manager/drm-lease-manager.ini
+}