aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-07 19:20:56 +0200
committerSimon Ser <contact@emersion.fr>2020-05-09 16:42:25 +0200
commitc608fc89d8cb850b9c53c3fa84e7c08ea3c0e30a (patch)
treedaee085fa1c32d4be5aa22118d70fc98783f53ec /backend/drm/drm.c
parent70883fd10beba4f78e3325eb6e38750360502f58 (diff)
backend/drm: rename crtc_pageflip to crtc_commit
Also add a flags argument. The commit function will also be used for disabling the CRTC.
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 0d7f3f25..9c397752 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -345,7 +345,7 @@ static bool drm_crtc_page_flip(struct wlr_drm_connector *conn) {
return false;
}
- bool ok = drm->iface->crtc_pageflip(drm, conn);
+ bool ok = drm->iface->crtc_commit(drm, conn, DRM_MODE_PAGE_FLIP_EVENT);
crtc->pending = 0;