diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-07 21:11:43 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-09 16:42:25 +0200 |
commit | f8e02db4bcd297f6bef2387dc1a65b837619c07c (patch) | |
tree | 3e07f841b76f5a35c3342fb4f8bb6788c8f9aaf3 /include | |
parent | c608fc89d8cb850b9c53c3fa84e7c08ea3c0e30a (diff) |
backend/drm: remove conn_enable from interface
Use crtc_commit instead.
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/drm/drm.h | 1 | ||||
-rw-r--r-- | include/backend/drm/iface.h | 3 |
2 files changed, 1 insertions, 3 deletions
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); |