summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container
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-10 11:36:27 +0000
commit274715c2ccd2182cd8266143cbfb266854a5d0a0 (patch)
tree637efa449758608a9233259813d89b67760ca230 /meta-agl-ic-container
parentda077ab0f268b4ae059597d1c20e9c91dcaa1385 (diff)
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 (cherry picked from commit 88775acac57bdd2184180ad672a410b1155f1e1f)
Diffstat (limited to 'meta-agl-ic-container')
-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
+}