diff options
author | Yidi Lin <yidilin@chromium.org> | 2023-03-23 17:14:08 +0800 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-03-26 21:02:12 +0000 |
commit | 13ed70f10be413f317126dc5f0b3b541eeacc116 (patch) | |
tree | 726fcd1c180f3613155e9103441445c08d5fc589 /src/mainboard/google/geralt | |
parent | c826c11b5057abbcab9891cb056b2f0e66ebd458 (diff) |
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 <yidilin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73961
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/geralt')
-rw-r--r-- | src/mainboard/google/geralt/display.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |