From c4725f509fce1b0556fe99b02d8ecaa270748eb7 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Mon, 26 Jun 2023 15:37:50 -0500 Subject: [PATCH] drm: allow views on more than one output to be on a plane Now that planes are attached to paint nodes, we no have no reason to prevent placing a view on a plane when it's on multiple monitors. Signed-off-by: Derek Foreman --- libweston/backend-drm/state-propose.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libweston/backend-drm/state-propose.c b/libweston/backend-drm/state-propose.c index edca817c..475f578a 100644 --- a/libweston/backend-drm/state-propose.c +++ b/libweston/backend-drm/state-propose.c @@ -797,14 +797,6 @@ drm_output_propose_state(struct weston_output *output_base, continue; } - /* We only assign planes to views which are exclusively present - * on our output. */ - if (ev->output_mask != (1u << output->base.id)) { - drm_debug(b, "\t\t\t\t[view] not assigning view %p to plane " - "(on multiple outputs)\n", ev); - force_renderer = true; - } - if (!b->gbm) { drm_debug(b, "\t\t\t\t[view] not assigning view %p to plane " "(GBM not available)\n", ev);