From f4cf0a8d866be532693e1f8c660ae9a1c2560187 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 3 Oct 2022 12:21:36 +0200 Subject: backend/drm: nuke wlr_drm_connector.desired_enabled This field becomes stale too easily: for instance, see 6adca4089cf4 ("backend/drm: don't unconditionally set desired_enabled"). Additionally, drm_connector_alloc_crtc() needs to do some weird dance, restoring its previous value. Instead, add a connector arg to realloc_crtcs() to indicate a new connector we want to enable. --- include/backend/drm/drm.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/backend/drm') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index f362f18a..27c131de 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -108,7 +108,6 @@ struct wlr_drm_connector { struct wlr_drm_backend *backend; char name[24]; drmModeConnection status; - bool desired_enabled; uint32_t id; uint64_t max_bpc; struct wlr_drm_lease *lease; -- cgit v1.2.3