aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-18 12:16:30 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-26 23:34:37 +0200
commit445750aa9a5b6d1e9e275fa9a533cee0e502febb (patch)
tree6e953825befc3edfbf78c26add96353516304bbd /include
parentc02e9c2bb18a42b0f6917a9b4bfabf4d7e4e36f7 (diff)
backend/drm: remove enable_drm_connector
Merge enable_drm_connector into drm_connector_set_mode. This allows us to de-duplicate logic since enabling an output performs a modeset.
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/drm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 4993fe18..6ec7fd28 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -151,7 +151,6 @@ void finish_drm_resources(struct wlr_drm_backend *drm);
void restore_drm_outputs(struct wlr_drm_backend *drm);
void scan_drm_connectors(struct wlr_drm_backend *state);
int handle_drm_event(int fd, uint32_t mask, void *data);
-bool enable_drm_connector(struct wlr_output *output, bool enable);
bool drm_connector_set_mode(struct wlr_output *output,
struct wlr_output_mode *mode);
size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm,