disp: msm: sde: avoid vblank notification for cwb

The vsync callback for concurrent writeback is
not necessary. This would conflict with vblank
notification of primary as both belongs to the
same crtc.

Change-Id: Idb67915de086f94feb231d61b6f7e4e068a1ac35
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran
2019-12-10 17:36:35 -08:00
committed by Gerrit - the friendly Code Review server
parent 2e0702c7e6
commit 20a7886cc5

View File

@@ -1039,7 +1039,7 @@ static void _sde_encoder_phys_wb_frame_done_helper(void *arg, bool frame_error)
phys_enc, event);
}
if (phys_enc->parent_ops.handle_vblank_virt)
if (!phys_enc->in_clone_mode && phys_enc->parent_ops.handle_vblank_virt)
phys_enc->parent_ops.handle_vblank_virt(phys_enc->parent,
phys_enc);