backend/drm: remove outdated TODO

This has been addressed in 8795dde94e ("Initialize connectors
current mode to the mode used by KMS on startup.").
This commit is contained in:
Simon Ser 2022-10-03 12:07:10 +02:00
parent 6adca4089c
commit 0613fb0159

View file

@ -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;