Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6dd2088 authored by Abhijit Kulkarni's avatar Abhijit Kulkarni
Browse files

drm/msm/sde: flush master and slave interfaces in split display



Ensure that both the master and slave interface bits in the
interface flush register are updated in a split display
configuration using single control path.

Change-Id: I83cdb19d93f7d6e09efb59805f49dc7766ccf5ff
Signed-off-by: default avatarAbhijit Kulkarni <kabhijit@codeaurora.org>
parent 285dbc85
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -702,11 +702,14 @@ static void sde_encoder_phys_vid_enable(struct sde_encoder_phys *phys_enc)
	sde_encoder_phys_vid_setup_timing_engine(phys_enc);

	/*
	 * For cases where both the interfaces are connected to same ctl,
	 * set the flush bit for both master and slave.
	 * For single flush cases (dual-ctl or pp-split), skip setting the
	 * flush bit for the slave intf, since both intfs use same ctl
	 * and HW will only flush the master.
	 */
	if (sde_encoder_phys_needs_single_flush(phys_enc) &&
	if (!test_bit(SDE_CTL_ACTIVE_CFG, &ctl->caps->features) &&
			sde_encoder_phys_needs_single_flush(phys_enc) &&
		!sde_encoder_phys_vid_is_master(phys_enc))
		goto skip_flush;