mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
video: rockchip: lcdc: 3366: add more format for gather
Change-Id: I5d20a52f1bd680af4083672b0607fa95332d7146 Signed-off-by: Huang Jiachai <hjc@rock-chips.com>
This commit is contained in:
committed by
Huang, Tao
parent
3a1bdfa3a4
commit
7a67aeac84
@@ -1114,11 +1114,18 @@ static int rk3368_lcdc_axi_gather_cfg(struct lcdc_device *lcdc_dev,
|
||||
switch (win->area[0].format) {
|
||||
case ARGB888:
|
||||
case XBGR888:
|
||||
case XRGB888:
|
||||
case ABGR888:
|
||||
case FBDC_ARGB_888:
|
||||
case FBDC_RGBX_888:
|
||||
case FBDC_ABGR_888:
|
||||
yrgb_gather_num = 3;
|
||||
break;
|
||||
case RGB888:
|
||||
case RGB565:
|
||||
case BGR888:
|
||||
case BGR565:
|
||||
case FBDC_RGB_565:
|
||||
yrgb_gather_num = 2;
|
||||
break;
|
||||
case YUV444:
|
||||
|
||||
Reference in New Issue
Block a user