disp: msm: sde: modify in_clone_mode after wb_reset is done

Add changes to modify the phys_enc->in_clone_mode variable
post wb_reset_state since this is a shared variable used
during atomic_check and atomic_commit. In current issue case,
wb_atomic_check has set in_clone_mode to true in commit N,
and in commit N-1 CWB is being disabled and re-sets the
in_clone_mode variable to false causing pp_done timeouts in
primary in commit N.

Change-Id: I8159bbdb5622a351d76bdc4dba75d48df20f4365
Signed-off-by: Jayaprakash Madisetty <jmadiset@codeaurora.org>
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
このコミットが含まれているのは:
Jayaprakash Madisetty
2021-04-15 15:18:02 +05:30
committed by Samantha Tran
コミット 436efb403c
6個のファイルの変更70行の追加9行の削除

ファイルの表示

@@ -2135,7 +2135,7 @@ static int _sde_rm_populate_requirements(
* found enabled.
*/
if ((!RM_RQ_CWB(reqs) || !RM_RQ_DCWB(reqs))
&& sde_encoder_in_clone_mode(enc)) {
&& sde_crtc_state_in_clone_mode(enc, crtc_state)) {
if (cfg->has_dedicated_cwb_support)
reqs->top_ctrl |= BIT(SDE_RM_TOPCTL_DCWB);
else