From d14461f40341ede21fd5f2a5bb3e5a27d17f9294 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 5 Dec 2022 09:45:19 -0600 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70369 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Felix Singer --- src/device/Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/device/Kconfig b/src/device/Kconfig index 34600adfe8..d0cce77731 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -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.