aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-03 12:21:36 +0200
committerAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-10-07 16:28:36 +0000
commitf4cf0a8d866be532693e1f8c660ae9a1c2560187 (patch)
tree922d871c7faac9c4fa8a91971d99ceb53e79d45a /include/backend/drm
parent5a207aea7222059ffb6f8260689f7a0025cc12b1 (diff)
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.
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/drm.h1
1 files changed, 0 insertions, 1 deletions
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;