mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
77ac7552be
commit
4bf158ce02
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue