Merge "disp: msm: sde: flush commit thread queue during pm suspend"

Esse commit está contido em:
qctecmdr
2021-06-01 20:21:34 -07:00
commit de Gerrit - the friendly Code Review server
8 arquivos alterados com 58 adições e 22 exclusões

Ver arquivo

@@ -747,6 +747,16 @@ int msm_atomic_commit(struct drm_device *dev,
c->plane_mask |= (1 << drm_plane_index(plane));
}
/* Protection for prepare_fence callback */
retry:
ret = drm_modeset_lock(&state->dev->mode_config.connection_mutex,
state->acquire_ctx);
if (ret == -EDEADLK) {
drm_modeset_backoff(state->acquire_ctx);
goto retry;
}
/*
* Wait for pending updates on any of the same crtc's and then
* mark our set of crtc's as busy: