diff options
author | CK Hu <ck.hu@mediatek.com> | 2020-11-13 11:49:07 +0800 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2020-11-21 18:31:07 +0800 |
commit | 487778f8d22fcdebb6436f0a5f96484ffa237b0b (patch) | |
tree | 617833d70560c6aa1a45ae6fec37f64fa40c00b5 /lib/crc4.c | |
parent | 46b97aed5484a3f44584a10f9e0691bf89d29064 (diff) | |
download | linux-487778f8d22fcdebb6436f0a5f96484ffa237b0b.tar.bz2 |
drm/mediatek: dsi: Modify horizontal front/back porch byte formula
In the patch to be fixed, horizontal_backporch_byte become too large
for some panel, so roll back that patch. For small hfp or hbp panel,
using vm->hfront_porch + vm->hback_porch to calculate
horizontal_backporch_byte would make it negtive, so
use horizontal_backporch_byte itself to make it positive.
Fixes: 35bf948f1edb ("drm/mediatek: dsi: Fix scrolling of panel with small hfp or hbp")
Signed-off-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Tested-by: Bilal Wasim <bilal.wasim@imgtec.com>
Diffstat (limited to 'lib/crc4.c')
0 files changed, 0 insertions, 0 deletions