diff --git a/libweston/backend-drm/kms.c b/libweston/backend-drm/kms.c index c7a067dc..35d13b22 100644 --- a/libweston/backend-drm/kms.c +++ b/libweston/backend-drm/kms.c @@ -1112,6 +1112,8 @@ drm_pending_state_apply_atomic(struct drm_pending_state *pending_state, head = to_drm_head(head_base); connector_id = head->connector.connector_id; + if (head->connector.device != device) + continue; drm_debug(b, "\t\t[atomic] disabling inactive head %s\n", head_base->name);