diff options
author | Eric Gao <eric.gao@rock-chips.com> | 2017-05-02 18:23:54 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-10 13:37:22 -0600 |
commit | c34bd8b82090718e3546ba262168467dc31a128e (patch) | |
tree | 2310be159e407add3a61a800713cf6b697fd1ecd /drivers/video/rockchip/rk_vop.c | |
parent | 8aed0d775155d08472e2cffa382938005e48aef0 (diff) | |
download | u-boot-c34bd8b82090718e3546ba262168467dc31a128e.zip u-boot-c34bd8b82090718e3546ba262168467dc31a128e.tar.gz u-boot-c34bd8b82090718e3546ba262168467dc31a128e.tar.bz2 |
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 <eric.gao@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/rockchip/rk_vop.c')
-rw-r--r-- | drivers/video/rockchip/rk_vop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c index 6e0fffa..aa6ca8c 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; } |