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

Commit f5c8914d authored by Nirmal Abraham's avatar Nirmal Abraham Committed by raghavendra ambadas
Browse files

msm: mdss: Reset mdp3 in overlay play



Reset MDP3 if splash is enabled and BLIT is disabled.
When BLIT is disabled and composition is done through GLES,
DMA buffer is allocated during splash, causing play error.

Change-Id: If31c352c4d8dc5dea255fb59de09ef8d202de1d5
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
parent ed1679e4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2660,6 +2660,10 @@ static int mdp3_ctrl_ioctl_handler(struct msm_fb_data_type *mfd,
		break;
	case MSMFB_OVERLAY_PLAY:
		rc = copy_from_user(&ov_data, argp, sizeof(ov_data));
		mutex_lock(&mdp3_res->fs_idle_pc_lock);
		if (mdp3_session->in_splash_screen)
			mdp3_ctrl_reset(mfd);
		mutex_unlock(&mdp3_res->fs_idle_pc_lock);
		if (!rc)
			rc = mdp3_overlay_play(mfd, &ov_data);
		if (rc)