public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] video: ipuv3: Set max display bpp to 32
@ 2019-05-05 23:11 Marek Vasut
  2019-05-20 11:09 ` Anatolij Gustschin
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2019-05-05 23:11 UTC (permalink / raw)
  To: u-boot

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/imx/mxc_ipuv3_fb.c b/drivers/video/imx/mxc_ipuv3_fb.c
index 3e38d4bdcc..29f7c21f75 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;
 }
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] video: ipuv3: Set max display bpp to 32
  2019-05-05 23:11 [U-Boot] [PATCH] video: ipuv3: Set max display bpp to 32 Marek Vasut
@ 2019-05-20 11:09 ` Anatolij Gustschin
  0 siblings, 0 replies; 2+ messages in thread
From: Anatolij Gustschin @ 2019-05-20 11:09 UTC (permalink / raw)
  To: u-boot

On Mon,  6 May 2019 01:11:32 +0200
Marek Vasut marex at denx.de wrote:

> 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 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-video/master, thanks!

--
Anatolij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-20 11:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-05 23:11 [U-Boot] [PATCH] video: ipuv3: Set max display bpp to 32 Marek Vasut
2019-05-20 11:09 ` Anatolij Gustschin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox