From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 26 Jun 2026 18:38:22 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wd9ZO-00A8ai-2H for lore@lore.pengutronix.de; Fri, 26 Jun 2026 18:38:22 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wd9ZO-0000kM-J5; Fri, 26 Jun 2026 18:38:22 +0200 Received: from mx1.white.stw.pengutronix.de ([185.203.200.13]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wd9ZA-0000kC-UK for ptxdist@pengutronix.de; Fri, 26 Jun 2026 18:38:09 +0200 Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 9CC672002FE; Fri, 26 Jun 2026 18:38:08 +0200 (CEST) Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wd9ZA-004n34-1h; Fri, 26 Jun 2026 18:38:08 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wd9ZA-00000009LM1-1zLU; Fri, 26 Jun 2026 18:38:08 +0200 Date: Fri, 26 Jun 2026 18:38:08 +0200 From: Michael Olbrich To: Artur Wiebe via ptxdist Message-ID: References: <20260625115021.2433949-1-artur@4wiebe.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260625115021.2433949-1-artur@4wiebe.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.6 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] mesalib: enable legacy-wayland=bind-wayland-display for wpebackend-fdo X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Artur Wiebe Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Thu, Jun 25, 2026 at 01:50:21PM +0200, Artur Wiebe via ptxdist wrote: > Mesa 25.2 deprecated EGL_WL_bind_wayland_display and moved it behind the > -Dlegacy-wayland=bind-wayland-display build option. Without it, Mesa no > longer exposes the EGL_WL_bind_wayland_display extension at runtime. > > wpebackend-fdo calls eglBindWaylandDisplayWL (obtained via eglGetProcAddress > on EGL_WL_bind_wayland_display) to allow the Wayland compositor side to > import wl_buffer resources as EGLImages using EGL_WAYLAND_BUFFER_WL. This > is still the only path available for non-dmabuf, non-SHM wl_buffers in the > wpebackend-fdo EGL compositor backend. This is not something that should be enabled unconditionally. Please create a kconfig option for with, without prompt and select that from wpebackend-fdo. That way, it is clear that it is only needed for that. Michael > Signed-off-by: Artur Wiebe > --- > rules/mesalib.make | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rules/mesalib.make b/rules/mesalib.make > index 7eddb97ce..040863b13 100644 > --- a/rules/mesalib.make > +++ b/rules/mesalib.make > @@ -263,7 +263,7 @@ MESALIB_CONF_OPT := \ > -Dintel-elk=true \ > -Dintel-rt=disabled \ > -Dintel-virtio-experimental=false \ > - -Dlegacy-wayland=[] \ > + -Dlegacy-wayland=bind-wayland-display \ > -Dlibgbm-external=false \ > -Dlibunwind=disabled \ > -Dllvm=$(call ptx/endis, PTXCONF_MESALIB_LLVM)d \ > -- > 2.54.0 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |