From e865031497304a16ca9389d8d917df9ee4e11caa Mon Sep 17 00:00:00 2001 From: Huang Jiachai Date: Mon, 24 Apr 2017 11:41:33 +0800 Subject: [PATCH] video: rockchip: vop: 3399: add more format support for gather Change-Id: I790c16604b40775c228434cd2cdbb1f48bb8ee5e Signed-off-by: Huang Jiachai --- drivers/video/rockchip/lcdc/rk322x_lcdc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/video/rockchip/lcdc/rk322x_lcdc.c b/drivers/video/rockchip/lcdc/rk322x_lcdc.c index d09c2c88c928..3e7075632d34 100644 --- 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; -- 2.34.1