msm_fb: display: Add delay kickoff to MDDI

Add delay kickoff mechanism to consolidate multiple kickoffs
into one to avoid unnecessary delay at MDDI interface.
Also the MDP4_NONBLOCKING was removed due to every MDDI kickoff
is blocked until overlay blending completion interrupt is delivered.
This patch also remove unnecessary semaphore at the topmost layer
(fbmem) ioctl to allow multiple msm_fb ioctl calls. Mutex is
provided by individual function to synch between multiple
ioctl calls.

CRs-fixed: 264934
Change-Id: I3aecdd9cb4d7c79f67b641f90e78a6764095a6b2
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
kuogee hsieh 2010-11-30 15:40:46 -08:00 committed by Stephen Boyd
parent 77ac7552be
commit 4bf158ce02

View file

@ -1183,14 +1183,11 @@ static long do_fb_ioctl(struct fb_info *info, unsigned int cmd,
unlock_fb_info(info);
break;
default:
if (!lock_fb_info(info))
return -ENODEV;
fb = info->fbops;
if (fb->fb_ioctl)
ret = fb->fb_ioctl(info, cmd, arg);
else
ret = -ENOTTY;
unlock_fb_info(info);
}
return ret;
}