projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e95935f
)
video: rockchip: fb: add vopid for screen switch uevent
author
Huang Jiachai
<hjc@rock-chips.com>
Mon, 18 Apr 2016 03:36:38 +0000
(11:36 +0800)
committer
Huang Jiachai
<hjc@rock-chips.com>
Tue, 19 Apr 2016 13:01:53 +0000
(21:01 +0800)
Change-Id: Ib51af94397758a2118b6a41e1c736ac454e12b85
Signed-off-by: Huang Jiachai <hjc@rock-chips.com>
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index 94d9f3ac3b2ffe1e2d0633b70f1e7d209211fc61..e98399acc9ea4890856397159fe3df93d6551523 100644
(file)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-3551,10
+3551,10
@@
int rk_fb_switch_screen(struct rk_screen *screen, int enable, int lcdc_id)
}
}
- envp[0] = "switch screen";
+ envp[0] = "switch
vop
screen";
memset(envplcdc, 0, sizeof(envplcdc));
memset(envpfbdev, 0, sizeof(envpfbdev));
- sprintf(envplcdc, "SCREEN=%d,ENABLE=%d
", screen->type, enable
);
+ sprintf(envplcdc, "SCREEN=%d,ENABLE=%d
,VOPID=%d", screen->type, enable, dev_drv->id
);
sprintf(envpfbdev, "FBDEV=%d", dev_drv->fb_index_base);
envp[1] = envplcdc;
envp[2] = envpfbdev;