From f8e02db4bcd297f6bef2387dc1a65b837619c07c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 7 May 2020 21:11:43 +0200 Subject: backend/drm: remove conn_enable from interface Use crtc_commit instead. --- include/backend/drm/drm.h | 1 + include/backend/drm/iface.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 9efa3eaa..578d5d79 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -51,6 +51,7 @@ struct wlr_drm_crtc { uint32_t id; uint32_t pending; // bitfield of enum wlr_drm_crtc_field + bool active; drmModeModeInfo mode; // Atomic modesetting only diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h index 6498bb73..e9bf8040 100644 --- a/include/backend/drm/iface.h +++ b/include/backend/drm/iface.h @@ -13,9 +13,6 @@ struct wlr_drm_crtc; // Used to provide atomic or legacy DRM functions struct wlr_drm_interface { - // Enable or disable DPMS for connector - bool (*conn_enable)(struct wlr_drm_backend *drm, - struct wlr_drm_connector *conn, bool enable); // Commit al pending changes on a CRTC. bool (*crtc_commit)(struct wlr_drm_backend *drm, struct wlr_drm_connector *conn, uint32_t flags); -- cgit v1.2.3