backend/drm: remove outdated TODO

This has been addressed in 8795dde94e ("Initialize connectors
current mode to the mode used by KMS on startup.").
Simon Ser 2 years ago
parent 6adca4089c
commit 0613fb0159

@ -1421,8 +1421,6 @@ void scan_drm_connectors(struct wlr_drm_backend *drm,
wlr_drm_conn_log(wlr_conn, WLR_ERROR, "No CRTC possible"); 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_output_update_enabled(&wlr_conn->output, wlr_conn->crtc != NULL);
wlr_conn->desired_enabled = wlr_conn->crtc != NULL; wlr_conn->desired_enabled = wlr_conn->crtc != NULL;

Loading…
Cancel
Save