summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init.bbappend7
-rw-r--r--meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init/agl-compositor-visionfive2.conf2
2 files changed, 9 insertions, 0 deletions
diff --git a/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init.bbappend b/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init.bbappend
new file mode 100644
index 000000000..4cdb74a5e
--- /dev/null
+++ b/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRC_URI:append:jh7110 = " file://agl-compositor-visionfive2.conf "
+
+do_install:append:jh7110() {
+ install -m644 ${WORKDIR}/agl-compositor-visionfive2.conf ${D}/${systemd_system_unitdir}/agl-compositor.service.d/agl-compositor-visionfive2.conf
+}
diff --git a/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init/agl-compositor-visionfive2.conf b/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init/agl-compositor-visionfive2.conf
new file mode 100644
index 000000000..e62c13a89
--- /dev/null
+++ b/meta-agl-bsp/riscv-layer/recipes-graphics/wayland/agl-compositor-init/agl-compositor-visionfive2.conf
@@ -0,0 +1,2 @@
+[Service]
+Environment=WESTON_FORCE_RENDERER=1