projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9002e73
)
video: ipuv3: Set max display bpp to 32
author
Marek Vasut
<marex@denx.de>
Sun, 5 May 2019 23:11:32 +0000
(
01:11
+0200)
committer
Anatolij Gustschin
<agust@denx.de>
Mon, 20 May 2019 09:58:12 +0000
(11:58 +0200)
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>
drivers/video/imx/mxc_ipuv3_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/imx/mxc_ipuv3_fb.c
b/drivers/video/imx/mxc_ipuv3_fb.c
index 1aca9eba228a333885fe24d92a6b121b8b353226..29ecac40a29e5c5c28d5403bcbdd427542e49609 100644
(file)
--- 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;
}