diff options
author | Dario Binacchi | 2023-08-20 18:24:44 +0200 |
---|---|---|
committer | Patrice Chotard | 2023-10-04 13:26:02 +0200 |
commit | 20af6b897b12628ffcff0445d4d62ba653dcfcc5 (patch) | |
tree | 25aeca825cff8ab29f284007579411a261075073 /configs | |
parent | 1e4d99549f00de502fe02b0bbed16327434e2514 (diff) |
configs: stm32f746-disco: limit resolution to 480x272
The patch fixes the y-resolution, which was causing the creation of a
framebuffer larger than actually needed, resulting in memory waste.
Fixes: cc1b0e7b8e55b ("board: Add display to STM32F746 SoC discovery board")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/stm32f746-disco_defconfig | 2 | ||||
-rw-r--r-- | configs/stm32f746-disco_spl_defconfig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index 1fb30d8ad66..057cb7e8963 100644 --- a/configs/stm32f746-disco_defconfig +++ b/configs/stm32f746-disco_defconfig @@ -59,7 +59,7 @@ CONFIG_VIDEO=y CONFIG_BACKLIGHT_GPIO=y CONFIG_VIDEO_STM32=y CONFIG_VIDEO_STM32_MAX_XRES=480 -CONFIG_VIDEO_STM32_MAX_YRES=640 +CONFIG_VIDEO_STM32_MAX_YRES=272 CONFIG_SPLASH_SCREEN=y CONFIG_SPLASH_SCREEN_ALIGN=y CONFIG_VIDEO_BMP_RLE8=y diff --git a/configs/stm32f746-disco_spl_defconfig b/configs/stm32f746-disco_spl_defconfig index 25ea2545074..0534d62d005 100644 --- a/configs/stm32f746-disco_spl_defconfig +++ b/configs/stm32f746-disco_spl_defconfig @@ -85,7 +85,7 @@ CONFIG_VIDEO=y CONFIG_BACKLIGHT_GPIO=y CONFIG_VIDEO_STM32=y CONFIG_VIDEO_STM32_MAX_XRES=480 -CONFIG_VIDEO_STM32_MAX_YRES=640 +CONFIG_VIDEO_STM32_MAX_YRES=272 CONFIG_SPLASH_SCREEN=y CONFIG_SPLASH_SCREEN_ALIGN=y CONFIG_VIDEO_BMP_RLE8=y |