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

Commit 12901724 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: flush master and slave interfaces in split display" into msm-4.14

parents fe236838 a6dd2088
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;