From 0bde1829e767f4cc9c0789514d1e243c53f94075 Mon Sep 17 00:00:00 2001 From: Ruihai Zhou Date: Mon, 3 Jul 2023 19:03:18 +0800 Subject: 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 Change-Id: I7de5984ce8aec12d8ebe292974e05776835330d6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76218 Reviewed-by: cong yang Reviewed-by: Yu-Ping Wu Reviewed-by: Paul Menzel Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) --- src/drivers/mipi/panel-STA_ILI9882T.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3