]> 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)
commitd36093cca74c814021680bba07962095d003eec0
treee7ce529ace7e4422703e099c892201366263c032
parentdd44bddf04c5fd83529b139fbfac0a5372c1a87d
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: fc890ca53bed ("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