diff options
Diffstat (limited to 'src/libsystemd-terminal/grdev-internal.h')
-rw-r--r-- | src/libsystemd-terminal/grdev-internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libsystemd-terminal/grdev-internal.h b/src/libsystemd-terminal/grdev-internal.h index 7e69c49b63..0064f0be02 100644 --- a/src/libsystemd-terminal/grdev-internal.h +++ b/src/libsystemd-terminal/grdev-internal.h @@ -22,6 +22,7 @@ #pragma once #include <inttypes.h> +#include <libudev.h> #include <stdbool.h> #include <stdlib.h> #include <systemd/sd-bus.h> @@ -40,6 +41,14 @@ typedef struct grdev_card_vtable grdev_card_vtable; typedef struct grdev_card grdev_card; /* + * DRM cards + */ + +bool grdev_is_drm_card(grdev_card *card); +grdev_card *grdev_find_drm_card(grdev_session *session, dev_t devnum); +int grdev_drm_card_new(grdev_card **out, grdev_session *session, struct udev_device *ud); + +/* * Displays */ |