From 3edabc137d64a92a95e46462b1a357a07346f41e Mon Sep 17 00:00:00 2001 From: Huang Jiachai Date: Mon, 18 Apr 2016 11:36:38 +0800 Subject: [PATCH] video: rockchip: fb: add vopid for screen switch uevent Change-Id: Ib51af94397758a2118b6a41e1c736ac454e12b85 Signed-off-by: Huang Jiachai --- drivers/video/rockchip/rk_fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index 94d9f3ac3b2f..e98399acc9ea 100644 --- 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; -- 2.34.1