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:
0997da8
)
video: rockchip: vop: 3399: add more format support for gather
author
Huang Jiachai
<hjc@rock-chips.com>
Mon, 24 Apr 2017 03:41:33 +0000
(11:41 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Fri, 28 Apr 2017 03:36:37 +0000
(11:36 +0800)
Change-Id: I790c16604b40775c228434cd2cdbb1f48bb8ee5e
Signed-off-by: Huang Jiachai <hjc@rock-chips.com>
drivers/video/rockchip/lcdc/rk322x_lcdc.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/lcdc/rk322x_lcdc.c
b/drivers/video/rockchip/lcdc/rk322x_lcdc.c
index d09c2c88c9289f7c9dcc43fd6d1d00f43f2949ad..3e7075632d3471faeba34197079e36a25f6eb0f2 100644
(file)
--- a/
drivers/video/rockchip/lcdc/rk322x_lcdc.c
+++ b/
drivers/video/rockchip/lcdc/rk322x_lcdc.c
@@
-1275,6
+1275,7
@@
static int vop_axi_gather_cfg(struct vop_device *vop_dev,
u16 cbcr_gather_num = 1;
switch (win->area[0].format) {
+ case XRGB888:
case ARGB888:
case XBGR888:
case ABGR888:
@@
-1284,7
+1285,9
@@
static int vop_axi_gather_cfg(struct vop_device *vop_dev,
yrgb_gather_num = 3;
break;
case RGB888:
+ case BGR888:
case RGB565:
+ case BGR565:
case FBDC_RGB_565:
yrgb_gather_num = 2;
break;