From 1e949402b0f09bdf54011f491fda5a2d35743e0b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 10 Oct 2024 16:30:57 +0200 Subject: [PATCH] output: drop output timeline flag This has been superseded by the backend-wide feature flag. --- backend/drm/drm.c | 5 ----- include/wlr/types/wlr_output.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 2747c5891..13f934eb8 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -1652,11 +1652,6 @@ static bool connect_drm_connector(struct wlr_drm_connector *wlr_conn, output->non_desktop = non_desktop; } - output->timeline = drm->iface != &legacy_iface; - if (drm->parent) { - output->timeline = output->timeline && drm->mgpu_renderer.wlr_rend->features.timeline; - } - memset(wlr_conn->max_bpc_bounds, 0, sizeof(wlr_conn->max_bpc_bounds)); if (wlr_conn->props.max_bpc != 0) { if (!introspect_drm_prop_range(drm->fd, wlr_conn->props.max_bpc, diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 6227f0476..f7a7bed51 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -171,8 +171,6 @@ struct wlr_output { // true for example with VR headsets bool non_desktop; - // Whether wait/signal timelines are supported - bool timeline; // Commit sequence number. Incremented on each commit, may overflow. uint32_t commit_seq;