aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/backend.c')
-rw-r--r--backend/drm/backend.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index f202d4d6..0da84745 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -101,11 +101,3 @@ error_backend:
free(backend);
return NULL;
}
-
-void wlr_drm_backend_dpms(struct wlr_backend *backend, bool screen_on) {
- struct wlr_backend_state *state = backend->state;
- for (size_t i = 0; i < state->outputs->length; ++i) {
- struct wlr_output_state *output = state->outputs->items[i];
- wlr_drm_output_dpms(state->fd, output, screen_on);
- }
-}