From: Huang Jiachai Date: Fri, 17 Jun 2016 03:25:32 +0000 (+0800) Subject: video: rockchip: only vop big support 8x2560 linebuffer X-Git-Tag: firefly_0821_release~2430 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0497b48af6860ad3c10ce94761758cbb6e7f9b51;p=firefly-linux-kernel-4.4.55.git video: rockchip: only vop big support 8x2560 linebuffer Change-Id: Iee29c98d28375964a5af3b224350d00cb45d184d Signed-off-by: Huang Jiachai --- 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));