summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorPaul Ma <magf@bitland.corp-partner.google.com>2020-05-08 13:16:04 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-05-11 08:35:59 +0000
commit6d500a24762a936ee2a8478fb8110df1bfed1cce (patch)
treedb136993a78f2a9cdcc91d1d454c9efaca22bcb0 /src/mainboard/google
parent4d472a76c7c57b28c158cb731887a98ae2ff6807 (diff)
downloadcoreboot-6d500a24762a936ee2a8478fb8110df1bfed1cce.tar.xz
mb/google/kukui: fix screen scrolling on devices using anx7625
anx7625 enables MIPI receiver to check EOTP packet as default. If MIPI_DSI_MODE_EOT_PACKET is not set in flags, soc dsi will not send out EOTP packet and some panel models will display abnormal such as scrolling all the time. BUG=b:144824303 BRANCH=kukui TEST=boot damu board, edp panel with anx7625 as bridge boots up without scrolling. Signed-off-by: Paul Ma <magf@bitland.corp-partner.google.com> Change-Id: Iad651202bde2a40024af8c12153143ada2ce2439 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41161 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/kukui/mainboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/mainboard.c b/src/mainboard/google/kukui/mainboard.c
index bb36d90e3d..efcd49e078 100644
--- a/src/mainboard/google/kukui/mainboard.c
+++ b/src/mainboard/google/kukui/mainboard.c
@@ -154,6 +154,8 @@ static bool configure_display(void)
u32 mipi_dsi_flags = (MIPI_DSI_MODE_VIDEO |
MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
MIPI_DSI_MODE_LPM);
+ if (CONFIG(DRIVER_ANALOGIX_ANX7625))
+ mipi_dsi_flags |= MIPI_DSI_MODE_EOT_PACKET;
if (mtk_dsi_init(mipi_dsi_flags, MIPI_DSI_FMT_RGB888, 4, edid,
panel->s->init) < 0) {
printk(BIOS_ERR, "%s: Failed in DSI init.\n", __func__);