summaryrefslogtreecommitdiffstats
path: root/meta-agl-drm-lease/recipes-graphics/agl-compositor/agl-compositor-init.bbappend
diff options
context:
space:
mode:
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>2022-03-07 16:29:22 +0900
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>2022-03-07 19:21:03 +0900
commitbb8041c2173a60af675cb98a89d2d862c07d5a37 (patch)
tree1f972cc653c7934536d6f300c9275b339a90de23 /meta-agl-drm-lease/recipes-graphics/agl-compositor/agl-compositor-init.bbappend
parent03b844ab33546ed343ee6b5594f69cfd839ea212 (diff)
meta-agl-drm-lease: Add DRM lease support to agl-compositor
Allow agl-compositor to use a DRM lease as its output so that it can be run in parallel with weston or other applications that output via a DRM lease. This will also allow the agl-demo-platform GUI to start on boot when the agl-drm-lease dist feature is enabled. AGL-Bug: SPEC-3838 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: I32f25eec1931fa93c563f5bc99edc9bfda132342
Diffstat (limited to 'meta-agl-drm-lease/recipes-graphics/agl-compositor/agl-compositor-init.bbappend')
-rw-r--r--meta-agl-drm-lease/recipes-graphics/agl-compositor/agl-compositor-init.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-agl-drm-lease/recipes-graphics/agl-compositor/agl-compositor-init.bbappend b/meta-agl-drm-lease/recipes-graphics/agl-compositor/agl-compositor-init.bbappend
new file mode 100644
index 00000000..8ffc61c2
--- /dev/null
+++ b/meta-agl-drm-lease/recipes-graphics/agl-compositor/agl-compositor-init.bbappend
@@ -0,0 +1,3 @@
+DRM_LEASE_DEVICE ??= "card0-HDMI-A-1"
+AGL_COMPOSITOR_ARGS:append = " --drm-lease=${DRM_LEASE_DEVICE}"
+