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:
ea8a2fb
)
rk31: fix lcdc rgb888 bug
author
hxy
<hxy@rock-chips.com>
Tue, 31 Jul 2012 09:37:13 +0000
(17:37 +0800)
committer
hxy
<hxy@rock-chips.com>
Tue, 31 Jul 2012 09:37:13 +0000
(17:37 +0800)
drivers/video/rockchip/chips/rk31_lcdc.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/chips/rk31_lcdc.c
b/drivers/video/rockchip/chips/rk31_lcdc.c
index be14760bb8868df9efb74c95ccf3a4bf4d672997..37ece0d6e28c91567a9d3c22c4de82191a7fd25d 100644
(file)
--- a/
drivers/video/rockchip/chips/rk31_lcdc.c
+++ b/
drivers/video/rockchip/chips/rk31_lcdc.c
@@
-37,7
+37,7
@@
-static int dbg_thresd =
0
;
+static int dbg_thresd =
3
;
module_param(dbg_thresd, int, S_IRUGO|S_IWUSR);
#define DBG(level,x...) do { if(unlikely(dbg_thresd > level)) printk(KERN_INFO x); } while (0)
@@
-464,6
+464,9
@@
static int win1_set_par(struct rk31_lcdc_device *lcdc_dev,rk_screen *screen,
{
switch (par->format)
{
+ case ARGB888:
+ par->format = RGB888;
+ break;
case YUV422:// yuv422
ScaleCbrX = CalScale((xact/2), par->xsize);
ScaleCbrY = CalScale(yact, par->ysize);