From f29abe4c777ba8293ab76334ef2ac83eaa0043f6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 24 Nov 2021 10:36:39 +0100 Subject: backend/headless: stop picking a DRM FD Sometimes the headless backend is used standalone with the Pixman renderer, sometimes it's used together with another backend which has already picked a DRM FD. In both of these cases it doesn't make sense to pick a DRM FD. Broadly speaking the headless backend doesn't really care which DRM device is used for the buffers it receives. So it doesn't really make sense to tie it to a particular DRM device. Let the backend users (e.g. wlr_renderer_autocreate) open an arbitrary DRM FD as needed instead. --- include/backend/headless.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/backend') diff --git a/include/backend/headless.h b/include/backend/headless.h index f60d07e6..e126ac4e 100644 --- a/include/backend/headless.h +++ b/include/backend/headless.h @@ -8,7 +8,6 @@ struct wlr_headless_backend { struct wlr_backend backend; - int drm_fd; struct wl_display *display; struct wl_list outputs; size_t last_output_num; -- cgit v1.2.3