From 0497b48af6860ad3c10ce94761758cbb6e7f9b51 Mon Sep 17 00:00:00 2001 From: Huang Jiachai Date: Fri, 17 Jun 2016 11:25:32 +0800 Subject: [PATCH] video: rockchip: only vop big support 8x2560 linebuffer Change-Id: Iee29c98d28375964a5af3b224350d00cb45d184d Signed-off-by: Huang Jiachai --- drivers/video/rockchip/lcdc/rk322x_lcdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/lcdc/rk322x_lcdc.c b/drivers/video/rockchip/lcdc/rk322x_lcdc.c index 6a69dbb4e08b..8b13ad8d95f1 100644 --- a/drivers/video/rockchip/lcdc/rk322x_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk322x_lcdc.c @@ -1808,7 +1808,7 @@ static int vop_config_timing(struct rk_lcdc_driver *dev_drv) vop_msk_reg(vop_dev, LINE_FLAG, val); } vop_post_cfg(dev_drv); - if (x_res <= VOP_INPUT_MAX_WIDTH / 2) + if ((x_res <= VOP_INPUT_MAX_WIDTH / 2) && (vop_dev->id == 0)) vop_msk_reg(vop_dev, SYS_CTRL, V_POST_LB_MODE(1)); else vop_msk_reg(vop_dev, SYS_CTRL, V_POST_LB_MODE(0)); -- 2.34.1