From 445750aa9a5b6d1e9e275fa9a533cee0e502febb Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 18 May 2020 12:16:30 +0200 Subject: 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. --- include/backend/drm/drm.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/backend') 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, -- cgit v1.2.3