disp: msm: sde: clear cwb_enc_mask post in_clone_mode is set

Add changes to clear the cwb_enc_mask in sde_crtc_state post
phys_enc->in_clone_mode is set. This is required to avoid
race issues seen when cwb gets enabled in alternate commits.

Change-Id: I555cc0401b3200f7e8bcc6be8884d04cb3ce69fb
Signed-off-by: Jayaprakash Madisetty <jmadiset@codeaurora.org>
This commit is contained in:
Jayaprakash Madisetty 2021-07-28 18:48:32 +05:30
commit 4e9b8dc601

View file

@ -809,6 +809,8 @@ void sde_encoder_set_clone_mode(struct drm_encoder *drm_enc,
SDE_DEBUG("enc:%d phys state:%d\n", DRMID(drm_enc), phys->enable_state);
}
}
sde_crtc_state->cwb_enc_mask = 0;
}
static int _sde_encoder_atomic_check_phys_enc(struct sde_encoder_virt *sde_enc,