aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/udev.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-01 20:29:10 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-01 20:29:10 -0400
commit40b85d992a0a8dcdbff5305e232fbcd26d873148 (patch)
treed00984396a7f8080656636bf0cf38b8852cffa97 /include/backend/drm/udev.h
parent62d612a01e10947db2c2047be528ed525e5f91be (diff)
Refactor udev and drm initialization
Diffstat (limited to 'include/backend/drm/udev.h')
-rw-r--r--include/backend/drm/udev.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/backend/drm/udev.h b/include/backend/drm/udev.h
deleted file mode 100644
index 99c2c403..00000000
--- a/include/backend/drm/udev.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef UDEV_H
-#define UDEV_H
-
-#include <libudev.h>
-
-#include <wlr/session.h>
-#include <wayland-server.h>
-
-struct wlr_udev {
- struct udev *udev;
- struct udev_monitor *mon;
- char *drm_path;
-
- struct wl_event_source *event;
-};
-
-struct wlr_drm_backend;
-bool wlr_udev_init(struct wl_display *display, struct wlr_udev *udev);
-void wlr_udev_free(struct wlr_udev *udev);
-int wlr_udev_find_gpu(struct wlr_udev *udev, struct wlr_session *session);
-
-void wlr_udev_event(struct wlr_drm_backend *backend);
-
-#endif