[PATCH weston v6 70/73] compositor-drm: allow shared-CRTC cloning
Pekka Paalanen
ppaalanen at gmail.com
Fri Feb 16 14:57:55 UTC 2018
From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Allow cloning up to 4 connectors from the same CRTC. All the
implementation bits support more than one head per output already.
Four is just an arbitary number, small but unlikely to ever be the
limiting factor in cloning since hardware is usually very restricted.
Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
libweston/compositor-drm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index d0196715..a6cc39b6 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -83,7 +83,7 @@
#define GBM_BO_USE_CURSOR GBM_BO_USE_CURSOR_64X64
#endif
-#define MAX_CLONED_CONNECTORS 1
+#define MAX_CLONED_CONNECTORS 4
/**
* Represents the values of an enum-type KMS property
--
2.13.6
More information about the wayland-devel
mailing list