Răsfoiți Sursa

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 <[email protected]>
Veera Sundaram Sankaran 5 ani în urmă
părinte
comite
20a7886cc5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      msm/sde/sde_encoder_phys_wb.c

+ 1 - 1
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);