CK Hu 487778f8d2 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>
2020-11-21 18:31:07 +08:00
..
2020-10-23 13:56:34 -07:00
2020-09-08 14:41:40 +10:00
2020-09-23 09:52:24 +10:00
2020-09-16 13:08:10 +02:00
2020-08-11 11:58:31 +10:00
2020-09-23 09:52:24 +10:00
2020-10-15 14:43:29 -07:00
2020-09-08 14:41:40 +10:00
2020-08-06 14:27:31 -07:00
2020-10-23 13:56:34 -07:00
2020-09-14 18:11:40 +02:00
2020-10-12 20:26:14 +02:00
2020-10-15 14:43:29 -07:00
2020-09-16 11:13:27 +02:00
2020-10-15 14:43:29 -07:00
2020-07-23 10:06:22 +02:00
2020-09-18 06:14:41 +10:00
2020-04-03 17:11:41 +02:00
2020-09-23 09:52:24 +10:00
2020-09-08 14:41:40 +10:00
2020-10-15 14:43:29 -07:00
2020-10-15 10:46:16 -07:00
2020-06-24 09:17:34 +02:00
2020-10-15 10:46:16 -07:00
2020-09-11 10:47:19 +02:00
2020-09-23 09:52:24 +10:00
2020-09-11 10:47:19 +02:00
2020-10-17 11:18:18 -07:00
2020-09-23 09:52:24 +10:00
2020-08-06 14:27:31 -07:00
2020-05-27 14:31:42 +03:00
2020-08-25 11:00:02 +02:00
2020-04-03 17:11:41 +02:00
2020-09-23 09:52:24 +10:00
2020-09-21 10:45:08 +02:00
2020-09-23 09:52:24 +10:00
2020-09-21 10:45:08 +02:00
2020-06-24 15:45:51 +10:00
2020-05-29 12:58:11 +02:00
2020-09-21 10:45:08 +02:00
2020-08-11 11:58:31 +10:00
2020-08-11 11:58:31 +10:00
2020-08-25 11:00:02 +02:00
2020-10-17 11:18:18 -07:00
2020-06-24 15:45:51 +10:00