From 13ed70f10be413f317126dc5f0b3b541eeacc116 Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Thu, 23 Mar 2023 17:14:08 +0800 Subject: [PATCH] mb/google/geralt: Set orientation to LB_FB_ORIENTATION_BOTTOM_UP Set orientation to LB_FB_ORIENTATION_BOTTOM_UP to align the volume up/down direction with menu up/down in FW screen. BUG=b:274749478 TEST=see FW screen in portrait mode. TEST=volume key behaves as expected Change-Id: If32859c4bf256c97147622ff04a17fc2ec80303d Signed-off-by: Yidi Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/73961 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/mainboard/google/geralt/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/google/geralt/display.c b/src/mainboard/google/geralt/display.c index 243ed6d739..8c7a0c1cf6 100644 --- a/src/mainboard/google/geralt/display.c +++ b/src/mainboard/google/geralt/display.c @@ -74,7 +74,7 @@ int configure_display(void) mtk_ddp_mode_set(&edid, panel->disp_path); info = fb_new_framebuffer_info_from_edid(&edid, (uintptr_t)0); if (info) - fb_set_orientation(info, LB_FB_ORIENTATION_NORMAL); + fb_set_orientation(info, LB_FB_ORIENTATION_BOTTOM_UP); return 0; }