From 20a7886cc5435deb00c1e0c06df816d511c4191f Mon Sep 17 00:00:00 2001 From: Veera Sundaram Sankaran Date: Tue, 10 Dec 2019 17:36:35 -0800 Subject: [PATCH] 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 --- msm/sde/sde_encoder_phys_wb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm/sde/sde_encoder_phys_wb.c b/msm/sde/sde_encoder_phys_wb.c index a2424474c244..f386a39fb3e9 100644 --- a/msm/sde/sde_encoder_phys_wb.c +++ b/msm/sde/sde_encoder_phys_wb.c @@ -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);