summaryrefslogtreecommitdiff
path: root/src/mainboard/google/asurada
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2021-09-03 15:41:02 +0800
committerHung-Te Lin <hungte@chromium.org>2021-09-10 13:24:24 +0000
commit1fc92dee521e2a8169158b7a7a01d954415854a9 (patch)
treee4dc83aec4d657aa2b898aa7cef7ca4ad34579bf /src/mainboard/google/asurada
parent5e8af51d1ec12153b86bc0350143846bcaaee6d3 (diff)
mb/google/asurada: enable MIPI_DSI_MODE_LINE_END to fix display issues
The ANX7625 needs explicit LINE_END to output proper display data. This patch is based on CB:51435 (commit b923931, "mb/google/kukui: Add flag for MIPI_DSI_MODE_LINE_END ANX7625") BUG=b:198558237 TEST=emerge-asurada coreboot BRANCH=asurada Change-Id: Id5666fa1bcf96002725509d7436ea1ff5febef93 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57486 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/asurada')
-rw-r--r--src/mainboard/google/asurada/mainboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/asurada/mainboard.c b/src/mainboard/google/asurada/mainboard.c
index 99c6cf3741..c8faffcfcd 100644
--- a/src/mainboard/google/asurada/mainboard.c
+++ b/src/mainboard/google/asurada/mainboard.c
@@ -118,6 +118,7 @@ static bool configure_display(void)
u32 mipi_dsi_flags = (MIPI_DSI_MODE_VIDEO |
MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
MIPI_DSI_MODE_LPM |
+ MIPI_DSI_MODE_LINE_END |
MIPI_DSI_MODE_EOT_PACKET);
if (mtk_dsi_init(mipi_dsi_flags, MIPI_DSI_FMT_RGB888, 4, &edid, NULL) < 0) {