From d7af61f18878825b105606c3685082964b4f8fc3 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 5 Oct 2023 16:14:12 +0200 Subject: [PATCH] render/egl: drop split render/display workaround --- render/egl.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/render/egl.c b/render/egl.c index e961b9c4a..d0cf8d745 100644 --- a/render/egl.c +++ b/render/egl.c @@ -878,12 +878,7 @@ static char *get_render_name(const char *name) { if (match == NULL) { wlr_log(WLR_ERROR, "Cannot find DRM device %s", name); } else if (!(match->available_nodes & (1 << DRM_NODE_RENDER))) { - // Likely a split display/render setup. Pick the primary node and hope - // Mesa will open the right render node under-the-hood. - wlr_log(WLR_DEBUG, "DRM device %s has no render node, " - "falling back to primary node", name); - assert(match->available_nodes & (1 << DRM_NODE_PRIMARY)); - render_name = strdup(match->nodes[DRM_NODE_PRIMARY]); + wlr_log(WLR_ERROR, "DRM device has no render node"); } else { render_name = strdup(match->nodes[DRM_NODE_RENDER]); }