aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-03 12:07:10 +0200
committerSimon Ser <contact@emersion.fr>2022-10-03 12:07:10 +0200
commit0613fb0159e7bdc429381212109b78ad200fc104 (patch)
treea07fc76d1fa251dfa1e88614b9764c0af32a7e99 /backend/drm
parent6adca4089cf4fb377bacf8efdf32f7dcbd4001e3 (diff)
backend/drm: remove outdated TODO
This has been addressed in 8795dde94eeb ("Initialize connectors current mode to the mode used by KMS on startup.").
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 29c58dfe..01ce867e 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -1421,8 +1421,6 @@ void scan_drm_connectors(struct wlr_drm_backend *drm,
wlr_drm_conn_log(wlr_conn, WLR_ERROR, "No CRTC possible");
}
- // TODO: this results in connectors being enabled without a mode
- // set
wlr_output_update_enabled(&wlr_conn->output, wlr_conn->crtc != NULL);
wlr_conn->desired_enabled = wlr_conn->crtc != NULL;