You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
382 B
19 lines
382 B
8 years ago
|
#ifndef _WLR_INTERNAL_UDEV_H
|
||
|
#define _WLR_INTERNAL_UDEV_H
|
||
8 years ago
|
|
||
8 years ago
|
#include <libudev.h>
|
||
8 years ago
|
#include <wlr/session.h>
|
||
8 years ago
|
#include <wayland-server.h>
|
||
8 years ago
|
#include <wlr/backend/udev.h>
|
||
8 years ago
|
|
||
|
struct wlr_udev {
|
||
|
struct udev *udev;
|
||
|
struct udev_monitor *mon;
|
||
8 years ago
|
struct wl_event_source *event;
|
||
8 years ago
|
struct wl_signal invalidate_drm;
|
||
8 years ago
|
};
|
||
|
|
||
|
int wlr_udev_find_gpu(struct wlr_udev *udev, struct wlr_session *session);
|
||
|
|
||
8 years ago
|
#endif
|