From 7fb4ba10f257a6efce4123f2ad744920e3d23c3f Mon Sep 17 00:00:00 2001 From: notbabaisyou Date: Tue, 24 Jun 2025 22:29:48 +0200 Subject: [PATCH] glamor: Enable dmabuf_capable for Zink This lets Zink take advantage of DRM modifiers on GPUs letting it properly handle tiled buffers. Signed-off-by: notbabaisyou --- glamor/glamor_egl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c index 11ba189a8..88c3737f2 100644 --- a/glamor/glamor_egl.c +++ b/glamor/glamor_egl.c @@ -1192,6 +1192,8 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd) "dmabuf_capable"); else if (strstr((const char *)renderer, "Intel")) glamor_egl->dmabuf_capable = TRUE; + else if (strstr((const char *)renderer, "zink")) + glamor_egl->dmabuf_capable = TRUE; else glamor_egl->dmabuf_capable = FALSE; }