diff options
author | Simon Ser <contact@emersion.fr> | 2024-02-14 18:30:16 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-02-15 09:37:46 +0100 |
commit | d2acd4c36271ed87c7f8849a4f3c957fb36666fa (patch) | |
tree | 904fbdca122067d41d05cdbcc4a74f2be13e505a /include/backend | |
parent | 505175e56f42700649158bfd4ad622860ceaa80b (diff) |
backend/drm: move restore logic to drm.c
We'll need to use a bunch of internal functions from that file in
the next commits.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/drm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 4b75b8a4..e2c74a9f 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -185,10 +185,9 @@ void finish_drm_resources(struct wlr_drm_backend *drm); void scan_drm_connectors(struct wlr_drm_backend *state, struct wlr_device_hotplug_event *event); void scan_drm_leases(struct wlr_drm_backend *drm); +void restore_drm_device(struct wlr_drm_backend *drm); int handle_drm_event(int fd, uint32_t mask, void *data); void destroy_drm_connector(struct wlr_drm_connector *conn); -bool drm_connector_commit_state(struct wlr_drm_connector *conn, - const struct wlr_output_state *state); bool drm_connector_is_cursor_visible(struct wlr_drm_connector *conn); bool drm_connector_supports_vrr(struct wlr_drm_connector *conn); size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm, |