diff options
| author | Eric Gao <[email protected]> | 2017-05-02 18:23:54 +0800 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2017-05-10 13:37:22 -0600 |
| commit | c34bd8b82090718e3546ba262168467dc31a128e (patch) | |
| tree | 2310be159e407add3a61a800713cf6b697fd1ecd | |
| parent | 8aed0d775155d08472e2cffa382938005e48aef0 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -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 6e0fffab2eb..aa6ca8c8595 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; } |
