diff options
author | Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> | 2023-09-07 19:10:54 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-09-12 14:40:01 +0000 |
commit | 2a6a79c70657435880be7f00e48debdd559b91b5 (patch) | |
tree | c569fbcfe426a37fa38c094b587cff64c71dbd76 | |
parent | 1eff77bc59b77735872e675a8df4f059245e4be7 (diff) |
drivers/mipi: sta_himax83102: Completely pull GPW to VGL before TP term
The sta_himax83102 panel sometimes shows abnormally flickering
horizontal lines. The front gate output will precharge the X point of
the next pole circuit before TP term starts, and wait until the end of
the TP term to resume the CLK. For this reason, the X point must be
maintained during the TP term. In abnormal case, we measured a slight
leakage at point X. This is because during the TP term, the GPW does not
fully pull the VGL low, causing the TFT to not be closed tightly.
To fix this, we completely pull GPW to VGL before entering the TP term.
This will ensure that the TFT is closed tightly and prevent the abnormal
display.
BUG=b:299249186
BRANCH=corsola
TEST=FW Screen display normally
Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com>
Change-Id: I5dddaaa38917a65990c1474b657db5eb551940b1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77692
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/drivers/mipi/panel-STA_HIMAX83102_J02.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/mipi/panel-STA_HIMAX83102_J02.c b/src/drivers/mipi/panel-STA_HIMAX83102_J02.c index e5a8fb5f72..01fa6f55cf 100644 --- a/src/drivers/mipi/panel-STA_HIMAX83102_J02.c +++ b/src/drivers/mipi/panel-STA_HIMAX83102_J02.c @@ -78,9 +78,8 @@ struct panel_serializable_data STA_HIMAX83102_J02 = { PANEL_DCS(0xB1, 0x01, 0xBF, 0x11), PANEL_DCS(0xCB, 0x86), PANEL_DCS(0xD2, 0x3C, 0xFA), - PANEL_DCS(0xE9, 0xC5), - PANEL_DCS(0xD3, 0x00, 0x00, 0x00, 0x00, 0x80, 0x0C, 0x01), - PANEL_DCS(0xE9, 0x3F), + PANEL_DCS(0xD3, 0x00, 0x00, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, + 0x0C, 0x01), PANEL_DCS(0xE7, 0x02, 0x00, 0x28, 0x01, 0x7E, 0x0F, 0x7E, 0x10, 0xA0, 0x00, 0x00, 0x20, 0x40, 0x50, 0x40), PANEL_DCS(0xBD, 0x02), |