From dfc0683ba017e7d25a22aa5fc5b8703a58ea829b Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Mon, 20 Nov 2017 14:04:38 +0200 Subject: [PATCH] compositor-drm: allow shared-CRTC cloning 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 Acked-by: Derek Foreman Reviewed-by: Daniel Stone --- 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 592ee76a..287431eb 100644 --- a/libweston/compositor-drm.c +++ b/libweston/compositor-drm.c @@ -85,7 +85,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