device/Kconfig: bump desktop framebuffer max height/width to support 4K

Increase the default linear framebuffer max height/width for desktops
so that native display resolution works properly on 2160p and 1440p
ultrawide displays.

TEST=build/boot google/fizz, verify libgfxinit display init works
properly on 3440x1440p and 3840x2160p displays.

Change-Id: I95a1f1275a4faea195b73997c648023119807958
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70369
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Matt DeVillier 2022-12-05 09:45:19 -06:00 committed by Felix Singer
parent 719f7bebb0
commit d14461f403
1 changed files with 4 additions and 2 deletions

View File

@ -479,7 +479,8 @@ config BOOTSPLASH
config LINEAR_FRAMEBUFFER_MAX_WIDTH
int "Maximum width in pixels"
depends on LINEAR_FRAMEBUFFER && MAINBOARD_USE_LIBGFXINIT
default 2560
default 2560 if SYSTEM_TYPE_LAPTOP
default 3840
help
Set the maximum width of the framebuffer. This may help with
default fonts too tiny for high-resolution displays.
@ -487,7 +488,8 @@ config LINEAR_FRAMEBUFFER_MAX_WIDTH
config LINEAR_FRAMEBUFFER_MAX_HEIGHT
int "Maximum height in pixels"
depends on LINEAR_FRAMEBUFFER && MAINBOARD_USE_LIBGFXINIT
default 1600
default 1600 if SYSTEM_TYPE_LAPTOP
default 2160
help
Set the maximum height of the framebuffer. This may help with
default fonts too tiny for high-resolution displays.