backend/drm: Remove call to CRTC realloc on scan

After a connector scan, new connectors might have appeared and old ones
gone away. At this point, old CRTC allocations are already gone, while
new allocations are not yet needed. Skip the call.
master
Kenny Levinsen 3 months ago committed by Simon Zeni
parent 9f7ab85718
commit 96ad414ec9

@ -1811,8 +1811,6 @@ void scan_drm_connectors(struct wlr_drm_backend *drm,
destroy_drm_connector(conn); destroy_drm_connector(conn);
} }
realloc_crtcs(drm, NULL);
for (size_t i = 0; i < new_outputs_len; ++i) { for (size_t i = 0; i < new_outputs_len; ++i) {
struct wlr_drm_connector *conn = new_outputs[i]; struct wlr_drm_connector *conn = new_outputs[i];

Loading…
Cancel
Save