summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-05-06 01:11:32 +0200
committerAnatolij Gustschin <agust@denx.de>2019-05-20 11:58:12 +0200
commitb5e1a82e924d18d4134757e39a1f26e473f80e0b (patch)
tree5c977c7c1d9d43d26c13fe2a4a9005e1a43b69cb /drivers/video
parent9002e735e71754a90adbb9676c0ffb1964dbc288 (diff)
video: ipuv3: Set max display bpp to 32
The IPUv3 can handle 1920x1080x32bpp displays , set the max preallocated framebuffer BPP to 32 to cater for all eventualities. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/imx/mxc_ipuv3_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/imx/mxc_ipuv3_fb.c b/drivers/video/imx/mxc_ipuv3_fb.c
index 1aca9eba22..29ecac40a2 100644
--- a/drivers/video/imx/mxc_ipuv3_fb.c
+++ b/drivers/video/imx/mxc_ipuv3_fb.c
@@ -678,7 +678,7 @@ static int ipuv3_video_bind(struct udevice *dev)
struct video_uc_platdata *plat = dev_get_uclass_platdata(dev);
plat->size = LCD_MAX_WIDTH * LCD_MAX_HEIGHT *
- (1 << LCD_MAX_LOG2_BPP) / 8;
+ (1 << VIDEO_BPP32) / 8;
return 0;
}