projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef1b661
)
MLK-14299-2 video: mxsfb: setup the initial params for overlay fb
author
Fancy Fang
<chen.fang@nxp.com>
Thu, 9 Mar 2017 03:04:28 +0000
(11:04 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:50 +0000
(15:21 -0500)
The initial params for overlay fb should be setup during
its initialization to make it in a determined state before
using it.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit
f3d3d58165f9f36af85a46256cacc274b2d0b107
)
drivers/video/fbdev/mxsfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/mxsfb.c
b/drivers/video/fbdev/mxsfb.c
index
fceafc2
..
3ba558e
100644
(file)
--- a/
drivers/video/fbdev/mxsfb.c
+++ b/
drivers/video/fbdev/mxsfb.c
@@
-2068,6
+2068,10
@@
static void mxsfb_overlay_init(struct mxsfb_info *fbi)
dev_err(ofb->dev, "failed to map video mem for overlay\n");
goto fb_unregister;
}
+
+ /* setup the initial params for overlay fb */
+ overlayfb_set_par(ofb->ol_fb);
+
ofb->registered = 1;
return;