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

Commit cdf394e6 authored by Krishna Manikandan's avatar Krishna Manikandan
Browse files

drm/msm/sde: Set flush bit for slave interface



Setting flush bit for slave interface should be
skipped only for pp-split cases. For all other
cases, flush bits should be set for master and
slave interfaces when there is a change in interface
params. Add support to handle the same.

Change-Id: I8556e01f4758c39d12291ebabcd1351b2681d407
Signed-off-by: default avatarKrishna Manikandan <mkrishn@codeaurora.org>
parent c443e7cd
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -744,11 +744,10 @@ static void sde_encoder_phys_vid_enable(struct sde_encoder_phys *phys_enc)
	sde_encoder_phys_vid_setup_timing_engine(phys_enc);

	/*
	 * 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.
	 * For 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_vid_needs_single_flush(phys_enc) &&
	if (_sde_encoder_phys_is_ppsplit(phys_enc) &&
		!sde_encoder_phys_vid_is_master(phys_enc))
		goto skip_flush;