Revert "disp: msm: sde: avoid CWB in power on commit"

* causes display to not wake up sometimes

This reverts commit 67ef82eb35.

Change-Id: I9b98a2cfe6d8b4fedae8886ee862335eb8dad9c4
This commit is contained in:
Cosmin Tanislav
2022-01-13 17:34:32 +02:00
committed by Wiktor Rudzki
parent f5039c3d8e
commit ace35293c8

View File

@@ -55,7 +55,7 @@ static inline bool _msm_seamless_for_crtc(struct drm_device *dev,
if (msm_is_mode_seamless_dms(&crtc_state->adjusted_mode) && !enable)
return true;
if (!crtc_state->mode_changed && crtc_state->connectors_changed && crtc_state->active) {
if (!crtc_state->mode_changed && crtc_state->connectors_changed) {
for_each_old_connector_in_state(state, connector,
conn_state, i) {
if ((conn_state->crtc == crtc_state->crtc) ||
@@ -282,9 +282,6 @@ msm_crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state)
mode = &new_crtc_state->mode;
adjusted_mode = &new_crtc_state->adjusted_mode;
if (!new_crtc_state->active)
continue;
if (!new_crtc_state->mode_changed &&
new_crtc_state->connectors_changed) {
if (_msm_seamless_for_conn(connector,