aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/backend.h4
-rw-r--r--include/backend/drm/drm.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/backend/drm/backend.h b/include/backend/drm/backend.h
index 0c725ccb..e603bccd 100644
--- a/include/backend/drm/backend.h
+++ b/include/backend/drm/backend.h
@@ -19,10 +19,14 @@
struct wlr_backend_state {
int fd;
+ dev_t dev;
struct wlr_backend *backend;
struct wl_event_source *drm_event;
+ struct wl_listener device_paused;
+ struct wl_listener device_resumed;
+
uint32_t taken_crtcs;
list_t *outputs;
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 52ca65f0..004f3a10 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -59,4 +59,6 @@ void wlr_drm_output_cleanup(struct wlr_output_state *output, bool restore);
void wlr_drm_scan_connectors(struct wlr_backend_state *state);
int wlr_drm_event(int fd, uint32_t mask, void *data);
+void wlr_drm_output_start_renderer(struct wlr_output_state *output);
+
#endif