diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index 1fcc4a98294c..58c2812432cf 100644 --- a/drivers/gpu/drm/drm_atomic_helper.c +++ b/drivers/gpu/drm/drm_atomic_helper.c @@ -288,12 +288,14 @@ update_connector_routing(struct drm_atomic_state *state, if (old_connector_state->crtc != new_connector_state->crtc) { if (old_connector_state->crtc) { crtc_state = drm_atomic_get_new_crtc_state(state, old_connector_state->crtc); - crtc_state->connectors_changed = true; + if (connector->connector_type != DRM_MODE_CONNECTOR_WRITEBACK) + crtc_state->connectors_changed = true; } if (new_connector_state->crtc) { crtc_state = drm_atomic_get_new_crtc_state(state, new_connector_state->crtc); - crtc_state->connectors_changed = true; + if (connector->connector_type != DRM_MODE_CONNECTOR_WRITEBACK) + crtc_state->connectors_changed = true; } } @@ -371,7 +373,8 @@ update_connector_routing(struct drm_atomic_state *state, set_best_encoder(state, new_connector_state, new_encoder); - crtc_state->connectors_changed = true; + if (connector->connector_type != DRM_MODE_CONNECTOR_WRITEBACK) + crtc_state->connectors_changed = true; DRM_DEBUG_ATOMIC("[CONNECTOR:%d:%s] using [ENCODER:%d:%s] on [CRTC:%d:%s]\n", connector->base.id,