From 46c73187b93391ffd04112f922df75871f9a1295 Mon Sep 17 00:00:00 2001 From: illiliti Date: Fri, 22 May 2026 02:06:55 +0300 Subject: [PATCH] render/allocator: handle ENODEV --- render/allocator/allocator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/allocator/allocator.c b/render/allocator/allocator.c index b7dbf3d65..54a7d7b56 100644 --- a/render/allocator/allocator.c +++ b/render/allocator/allocator.c @@ -42,7 +42,7 @@ static int reopen_drm_node(int drm_fd, bool allow_render_node) { int lease_fd = drmModeCreateLease(drm_fd, NULL, 0, O_CLOEXEC, &lessee_id); if (lease_fd >= 0) { return lease_fd; - } else if (lease_fd != -EINVAL && lease_fd != -EOPNOTSUPP) { + } else if (lease_fd != -EINVAL && lease_fd != -EOPNOTSUPP && lease_fd != -ENODEV) { wlr_log_errno(WLR_ERROR, "drmModeCreateLease failed"); return -1; }