mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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:
parent
ad61b3f235
commit
4e9b8dc601
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue