mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/drm: nuke wlr_drm_connector.desired_enabled
This field becomes stale too easily: for instance, see 6adca4089c
("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.
This commit is contained in:
parent
5a207aea72
commit
f4cf0a8d86
2 changed files with 18 additions and 26 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue