From da63d11d341e9e1bc3c0dcb040e2cc5d82a3959e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 7 May 2020 21:28:42 +0200 Subject: backend/drm: remove crtc_set_cursor from interface --- backend/drm/atomic.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'backend/drm/atomic.c') diff --git a/backend/drm/atomic.c b/backend/drm/atomic.c index 0b258cfb..d4f033f0 100644 --- a/backend/drm/atomic.c +++ b/backend/drm/atomic.c @@ -237,15 +237,6 @@ static bool atomic_crtc_commit(struct wlr_drm_backend *drm, return false; } - if (crtc->active && crtc->cursor) { - drm_fb_move(&crtc->cursor->queued_fb, &crtc->cursor->pending_fb); - } - return true; -} - -static bool atomic_crtc_set_cursor(struct wlr_drm_backend *drm, - struct wlr_drm_crtc *crtc, struct gbm_bo *bo) { - /* Cursor updates happen when we pageflip */ return true; } @@ -267,6 +258,5 @@ static size_t atomic_crtc_get_gamma_size(struct wlr_drm_backend *drm, const struct wlr_drm_interface atomic_iface = { .crtc_commit = atomic_crtc_commit, - .crtc_set_cursor = atomic_crtc_set_cursor, .crtc_get_gamma_size = atomic_crtc_get_gamma_size, }; -- cgit v1.2.3