[U-Boot] [PATCH v2 4/8] rockchip: video: vop: Reserve enough space for mipi dispaly

Eric Gao eric.gao at rock-chips.com
Tue Apr 18 07:09:38 UTC 2017


plat->size here is used to reserve enough frame buffer space befor relocation.
our mipi display mode need more space, so reset it.

Signed-off-by: Eric Gao <eric.gao at rock-chips.com>

---

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 a637f7d..ac9e7db 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;
 }
-- 
1.9.1




More information about the U-Boot mailing list