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

Commit 5e4e7a45 authored by Siva Yarravarapu's avatar Siva Yarravarapu Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Exempt PP related ioctls from FB ioctl wait idle



The postprocessing related ioctls should not block to wait for fb_pan_idle.
They are not dependent on display commits completing.
Add PP and histogram ioctls to the list of commands that don't have
to wait for pan_idle.

Change-Id: Ie5110bc6b64761520d9a182f7ec21b4830815326
Signed-off-by: default avatarSiva Yarravarapu <sivay@codeaurora.org>
parent 370aca60
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3272,6 +3272,10 @@ static int __ioctl_wait_idle(struct msm_fb_data_type *mfd, u32 cmd)
		(cmd != MSMFB_BLIT) &&
		(cmd != MSMFB_DISPLAY_COMMIT) &&
		(cmd != MSMFB_NOTIFY_UPDATE) &&
		(cmd != MSMFB_MDP_PP) &&
		(cmd != MSMFB_HISTOGRAM_START) &&
		(cmd != MSMFB_HISTOGRAM_STOP) &&
		(cmd != MSMFB_HISTOGRAM) &&
		(cmd != MSMFB_OVERLAY_PREPARE)) {
		ret = mdss_fb_pan_idle(mfd);
	}