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>
This commit is contained in:
parent
c826c11b50
commit
13ed70f10b
|
@ -74,7 +74,7 @@ int configure_display(void)
|
||||||
mtk_ddp_mode_set(&edid, panel->disp_path);
|
mtk_ddp_mode_set(&edid, panel->disp_path);
|
||||||
info = fb_new_framebuffer_info_from_edid(&edid, (uintptr_t)0);
|
info = fb_new_framebuffer_info_from_edid(&edid, (uintptr_t)0);
|
||||||
if (info)
|
if (info)
|
||||||
fb_set_orientation(info, LB_FB_ORIENTATION_NORMAL);
|
fb_set_orientation(info, LB_FB_ORIENTATION_BOTTOM_UP);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue