Skip to content

Commit 8b2b99f

Browse files
mediatek-jitaoChun-Kuang Hu
authored andcommitted
drm/mediatek: dsi: Fine tune the line time caused by EOTp
Enabling EoTp will make the line time larger, so the hfp and hbp should be reduced to keep line time. Signed-off-by: Jitao Shi <[email protected]> Signed-off-by: Chun-Kuang Hu <[email protected]>
1 parent c87d1c4 commit 8b2b99f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/mediatek/mtk_dsi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ static void mtk_dsi_config_vdo_timing(struct mtk_dsi *dsi)
481481
timing->da_hs_zero + timing->da_hs_exit + 3;
482482

483483
delta = dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST ? 18 : 12;
484+
delta += dsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET ? 2 : 0;
484485

485486
horizontal_frontporch_byte = vm->hfront_porch * dsi_tmp_buf_bpp;
486487
horizontal_front_back_byte = horizontal_frontporch_byte + horizontal_backporch_byte;

0 commit comments

Comments
 (0)