From: Eric Gao Date: Tue, 2 May 2017 10:23:54 +0000 (+0800) Subject: rockchip: video: vop: Reserve enough space for mipi dispaly X-Git-Tag: v2017.07-rc1~356^2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c34bd8b82090718e3546ba262168467dc31a128e;p=oweals%2Fu-boot.git rockchip: video: vop: Reserve enough space for mipi dispaly 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 Reviewed-by: Simon Glass --- diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c index 6e0fffab2e..aa6ca8c859 100644 --- a/drivers/video/rockchip/rk_vop.c +++ b/drivers/video/rockchip/rk_vop.c @@ -357,7 +357,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; }