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

Commit d14de602 authored by Ravishangar Kalyanam's avatar Ravishangar Kalyanam Committed by Stephen Boyd
Browse files

msm_fb: display: Flush pipe registers before staging for Mixer 0 or 1



For Mixer 2, register flush need not be called. Flushing is done
only for pipes on mixer 0 and 1.

Signed-off-by: default avatarRavishangar Kalyanam <rkalya@codeaurora.org>
Change-Id: I54758f79552790de2ad936703ba6140ac57b76c4
parent 574f24de
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -3086,7 +3086,13 @@ int mdp4_overlay_play(struct fb_info *info, struct msmfb_overlay_data *req)
		mdp4_overlay_rgb_setup(pipe);	/* rgb pipe */
	}

	if (pipe->mixer_num != MDP4_MIXER2) {
		if ((ctrl->panel_mode & MDP4_PANEL_DTV) ||
			(ctrl->panel_mode & MDP4_PANEL_LCDC) ||
			(ctrl->panel_mode & MDP4_PANEL_DSI_VIDEO))
			mdp4_overlay_reg_flush(pipe, 1);
	}

	mdp4_mixer_stage_up(pipe);

	if (pipe->mixer_num == MDP4_MIXER2) {