msm: mdss: Allow up to 10 overlays per display
As per overall system performance recommendation, allow up to 10 overlays per display composition. Change-Id: Ida0934588e45eec6556d48356ac30bfe1447ca50 Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
This commit is contained in:
parent
d8a026f775
commit
57df33e7aa
1 changed files with 1 additions and 1 deletions
|
@ -3207,7 +3207,7 @@ static int __handle_ioctl_overlay_prepare(struct msm_fb_data_type *mfd,
|
|||
if (copy_from_user(&ovlist, argp, sizeof(ovlist)))
|
||||
return -EFAULT;
|
||||
|
||||
if (ovlist.num_overlays >= OVERLAY_MAX) {
|
||||
if (ovlist.num_overlays > OVERLAY_MAX) {
|
||||
pr_err("Number of overlays exceeds max\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue