From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Gao Date: Thu, 20 Apr 2017 12:45:56 +0800 Subject: [U-Boot] [PATCH v4 08/11] rockchip: video: vop: Reserve enough space for mipi dispaly In-Reply-To: <1492663559-8248-1-git-send-email-eric.gao@rock-chips.com> References: <1492663559-8248-1-git-send-email-eric.gao@rock-chips.com> Message-ID: <1492663559-8248-9-git-send-email-eric.gao@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de plat->size here is used to reserve frame buffer space befor relocation. our mipi panel use 24 bitwidth, and vop require 32bit align. So the frame buffer size should be at least 1920*1200*32/8. Signed-off-by: Eric Gao --- Changes in v4: None Changes in v3: -Add more description in the commit message Changes in v2: -Extend frame buffer size for mipi display drivers/video/rockchip/rk_vop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c index 5f5db9e..f1c6030 100644 --- a/drivers/video/rockchip/rk_vop.c +++ b/drivers/video/rockchip/rk_vop.c @@ -359,7 +359,7 @@ static int rk_vop_bind(struct udevice *dev) { struct video_uc_platdata *plat = dev_get_uclass_platdata(dev); - plat->size = 1920 * 1080 * 2; + plat->size = 1920 * 1200 * 4; return 0; } -- 1.9.1