projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3262ec6
)
MLK-13993: video: Distinguish fb0 and fb1 in userspace.
author
Guoniu.Zhou
<guoniu.zhou@nxp.com>
Fri, 17 Feb 2017 04:54:11 +0000
(12:54 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:44 +0000
(15:10 -0500)
In userspace, user can not distinguish fb0 and fb1, so add fb1/name property to
distinguish them.
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
drivers/video/fbdev/mxsfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/mxsfb.c
b/drivers/video/fbdev/mxsfb.c
index
63db6a2
..
25ad8db
100644
(file)
--- a/
drivers/video/fbdev/mxsfb.c
+++ b/
drivers/video/fbdev/mxsfb.c
@@
-1936,6
+1936,8
@@
static void init_mxsfb_overlay(struct mxsfb_info *fbi,
ofb->blank_state = -1;
ofb->global_alpha = 255;
ofb->fbi = fbi;
+
+ sprintf(ofb->ol_fb->fix.id, "FG");
}
static int mxsfb_overlay_map_video_memory(struct mxsfb_info *fbi,