aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHau Vo <hau.vo.ra@renesas.com>2023-09-29 13:21:15 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-10-06 13:13:51 +0000
commit88775acac57bdd2184180ad672a410b1155f1e1f (patch)
tree0a3d8cf4c80a47daad99f935bb584fbf03456da0
parentadbf2076b5ac6355f4e0b09b1d2baef3e515fb5c (diff)
Add support Salvator-x H3/M3 to IC container demo
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: I45e9ff5453655f814f067ec1f48611ee4cea8442
-rw-r--r--meta-agl-ic-container/conf/include/drm-lease-multi-display.inc1
-rw-r--r--meta-agl-ic-container/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend5
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-agl-ic-container/conf/include/drm-lease-multi-display.inc b/meta-agl-ic-container/conf/include/drm-lease-multi-display.inc
index d07d6a5d..bcf2e730 100644
--- a/meta-agl-ic-container/conf/include/drm-lease-multi-display.inc
+++ b/meta-agl-ic-container/conf/include/drm-lease-multi-display.inc
@@ -2,3 +2,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", "raspberrypi4-64", "1", "" ,d)}"
+HAS_MULTI_DISPLAY += "${@bb.utils.contains("MACHINE", "salvator-x", "1", "" ,d)}"
diff --git a/meta-agl-ic-container/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend b/meta-agl-ic-container/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend
index 371f6539..b8621dcb 100644
--- a/meta-agl-ic-container/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend
+++ b/meta-agl-ic-container/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
+}