]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: dsi: Fix scrolling of panel with small hfp or hbp
authorJitao Shi <jitao.shi@mediatek.com>
Mon, 17 Aug 2020 13:06:40 +0000 (21:06 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 26 Aug 2020 22:49:02 +0000 (06:49 +0800)
commit6a38b35efbd23d9508e914ff83bb3aef44ce4e12
treee7ce529ace7e4422703e099c892201366263c032
parente5f0bf958198ed018c9fdf06e8d307ced9af9c95
drm/mediatek: dsi: Fix scrolling of panel with small hfp or hbp

horizontal_backporch_byte should be hbp * bpp - hbp extra bytes.
So remove the wrong subtraction 10.

Fixes: 9b3201c4e5a1 ("drm/mediatek: change the dsi phytiming calculate method")
Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c