summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2022-12-05 09:45:19 -0600
committerFelix Singer <felixsinger@posteo.net>2022-12-17 18:11:04 +0000
commitd14461f40341ede21fd5f2a5bb3e5a27d17f9294 (patch)
tree31bb1c5d8acdfb26e6a1fa9b79ed81aaa415296d /src
parent719f7bebb022910c5fd5cac49a714deb63bb1115 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/device/Kconfig6
1 files 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.