projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e832d03
)
MLK-16242-7 video: fbdev: dcss: add non-blocking mode in pan display
author
Fancy Fang
<chen.fang@nxp.com>
Tue, 22 Aug 2017 08:56:24 +0000
(16:56 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:44 +0000
(15:36 -0500)
Add non-blocking mode for pan display interface to
support very special cases to focus on the maximum
FPS display.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
drivers/video/fbdev/mxc/imx_dcss.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/mxc/imx_dcss.c
b/drivers/video/fbdev/mxc/imx_dcss.c
index
610d943
..
122c5e5
100644
(file)
--- a/
drivers/video/fbdev/mxc/imx_dcss.c
+++ b/
drivers/video/fbdev/mxc/imx_dcss.c
@@
-2550,8
+2550,10
@@
static int dcss_pan_display(struct fb_var_screeninfo *var,
return ret;
}
- /* make pan display synchronously */
- flush_workqueue(info->ctxld_wq);
+ /* TODO: blocking mode */
+ if (likely(!var->reserved[2]))
+ /* make pan display synchronously */
+ flush_workqueue(info->ctxld_wq);
return 0;
}