|
|
|
@ -267,7 +267,7 @@ static void wlr_drm_connector_enable(struct wlr_output *output, bool enable) {
|
|
|
|
|
wlr_drm_connector_start_renderer(conn);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
conn->output.enabled = enable;
|
|
|
|
|
wlr_output_update_enabled(&conn->output, enable);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void realloc_planes(struct wlr_drm_backend *drm, const uint32_t *crtc_in,
|
|
|
|
@ -813,7 +813,7 @@ void wlr_drm_scan_connectors(struct wlr_drm_backend *drm) {
|
|
|
|
|
wl_list_insert(&wlr_conn->output.modes, &mode->wlr_mode.link);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
wlr_conn->output.enabled = true;
|
|
|
|
|
wlr_output_update_enabled(&wlr_conn->output, true);
|
|
|
|
|
|
|
|
|
|
wlr_conn->state = WLR_DRM_CONN_NEEDS_MODESET;
|
|
|
|
|
wlr_log(L_INFO, "Sending modesetting signal for '%s'",
|
|
|
|
@ -823,7 +823,7 @@ void wlr_drm_scan_connectors(struct wlr_drm_backend *drm) {
|
|
|
|
|
drm_conn->connection != DRM_MODE_CONNECTED) {
|
|
|
|
|
wlr_log(L_INFO, "'%s' disconnected", wlr_conn->output.name);
|
|
|
|
|
|
|
|
|
|
wlr_conn->output.enabled = false;
|
|
|
|
|
wlr_output_update_enabled(&wlr_conn->output, false);
|
|
|
|
|
wlr_drm_connector_cleanup(wlr_conn);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|