aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/iface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/drm/iface.h')
-rw-r--r--include/backend/drm/iface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h
index 9916f383..dbe4c908 100644
--- a/include/backend/drm/iface.h
+++ b/include/backend/drm/iface.h
@@ -12,6 +12,7 @@ struct wlr_drm_connector;
struct wlr_drm_crtc;
struct wlr_drm_connector_state;
struct wlr_drm_fb;
+struct wlr_drm_page_flip;
// Used to provide atomic or legacy DRM functions
struct wlr_drm_interface {
@@ -19,8 +20,8 @@ struct wlr_drm_interface {
void (*finish)(struct wlr_drm_backend *drm);
// Commit all pending changes on a CRTC.
bool (*crtc_commit)(struct wlr_drm_connector *conn,
- const struct wlr_drm_connector_state *state, uint32_t flags,
- bool test_only);
+ const struct wlr_drm_connector_state *state,
+ struct wlr_drm_page_flip *page_flip, uint32_t flags, bool test_only);
};
extern const struct wlr_drm_interface atomic_iface;