summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuihai Zhou <zhouruihai@huaqin.corp-partner.google.com>2023-07-03 19:03:18 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-07-14 14:30:00 +0000
commit0bde1829e767f4cc9c0789514d1e243c53f94075 (patch)
treede54bc52a2485fbb7890f9f002c545e5e09fcfbb
parentd5e336720d80d2285d30ee334de29f1b2af54fb2 (diff)
drivers: mipi: Fine tune STA_ILI9882T panel HBP and HFP
coreboot logs the error below, since the value of hporch is too small. Increasing hbl from 80 to 174, and hso from 40 to 72 to revise the HBP(Horizontal Back Porch) and HFP(Horizontal Front Porch). After revising this, the actual measurement frame rate is 60.1Hz. [ERROR]HFP plus HBP is not greater than d_phy, the panel may not work properly. BUG=b:284812193 TEST=cbmem -c | grep "ERROR" and measure frame rate Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> Change-Id: I7de5984ce8aec12d8ebe292974e05776835330d6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76218 Reviewed-by: cong yang <yangcong5@huaqin.corp-partner.google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/drivers/mipi/panel-STA_ILI9882T.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/mipi/panel-STA_ILI9882T.c b/src/drivers/mipi/panel-STA_ILI9882T.c
index 631ba414f9..51f01e5017 100644
--- a/src/drivers/mipi/panel-STA_ILI9882T.c
+++ b/src/drivers/mipi/panel-STA_ILI9882T.c
@@ -12,7 +12,7 @@ struct panel_serializable_data STA_ILI9882T = {
.pixel_clock = 165280,
.lvds_dual_channel = 0,
.refresh = 60,
- .ha = 1200, .hbl = 94, .hso = 32, .hspw = 30,
+ .ha = 1200, .hbl = 174, .hso = 72, .hspw = 30,
.va = 1920, .vbl = 80, .vso = 68, .vspw = 2,
.phsync = '-', .pvsync = '-',
.x_mm = 141, .y_mm = 226,