From acb7e2f792643dda6bfb929059c0abdd15c456cc Mon Sep 17 00:00:00 2001 From: Naseer Ahmed Date: Mon, 11 Jul 2016 15:48:03 -0400 Subject: [PATCH] mdss: Do not wait for kickoff in display commit Just wait for the display to idle instead and immediately start the next commit. This reduces the depth of the commit pending queue. CRs-Fixed: 1081525 Change-Id: Ic4ee6f738f5fa77890e806b55d9a0304915761ea Signed-off-by: Naseer Ahmed Signed-off-by: Abhijit Kulkarni --- drivers/video/fbdev/msm/mdss_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/msm/mdss_fb.c b/drivers/video/fbdev/msm/mdss_fb.c index 35913a26317d..0f5a156d638c 100644 --- a/drivers/video/fbdev/msm/mdss_fb.c +++ b/drivers/video/fbdev/msm/mdss_fb.c @@ -3076,7 +3076,7 @@ static int mdss_fb_pan_display_ex(struct fb_info *info, if (var->yoffset > (info->var.yres_virtual - info->var.yres)) return -EINVAL; - ret = mdss_fb_wait_for_kickoff(mfd); + ret = mdss_fb_pan_idle(mfd); if (ret) { pr_err("wait_for_kick failed. rc=%d\n", ret); return ret;