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:
0429ade
)
rkfb:save data format when this format changed
author
yxj
<yxj@rock-chips.com>
Wed, 18 Jul 2012 03:18:43 +0000
(11:18 +0800)
committer
yxj
<yxj@rock-chips.com>
Wed, 18 Jul 2012 03:19:18 +0000
(11:19 +0800)
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 a07940b493a223ca0ee703c79630d6d20e99fd9c..ecd893dbdd7e336f06e55f962ea141918ee2664b 100644
(file)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-375,7
+375,6
@@
static int rk_fb_set_par(struct fb_info *info)
u32 yvir = var->yres_virtual;
u8 data_format = var->nonstd&0xff;
var->pixclock = dev_drv->pixclock;
-
#if defined(CONFIG_HDMI_RK30)
#if defined(CONFIG_DUAL_DISP_IN_KERNEL)
if(hdmi_get_hotplug() == HDMI_HPD_ACTIVED)
@@
-496,6
+495,8
@@
static int rk_fb_set_par(struct fb_info *info)
par2->xact = par->xact;
par2->yact = par->yact;
par2->format = par->format;
+ info2->var.nonstd &= 0xffffff00;
+ info2->var.nonstd |= par->format;
dev_drv1->set_par(dev_drv1,layer_id);
}
}