diff options
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/drm.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 64961ab4..4715cbf7 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -41,15 +41,9 @@ struct wlr_drm_plane { union wlr_drm_plane_props props; }; -struct wlr_drm_crtc_state { - struct wlr_drm_mode *mode; -}; - struct wlr_drm_crtc { uint32_t id; - struct wlr_drm_crtc_state pending, current; - // Atomic modesetting only uint32_t mode_id; uint32_t gamma_lut; @@ -161,6 +155,8 @@ struct wlr_drm_fb *plane_get_next_fb(struct wlr_drm_plane *plane); bool drm_connector_state_is_modeset(const struct wlr_output_state *state); bool drm_connector_state_active(struct wlr_drm_connector *conn, const struct wlr_output_state *state); +void drm_connector_state_mode(struct wlr_drm_connector *conn, + const struct wlr_output_state *state, drmModeModeInfo *mode); #define wlr_drm_conn_log(conn, verb, fmt, ...) \ wlr_log(verb, "connector %s: " fmt, conn->name, ##__VA_ARGS__) |