drm/sun4i: dsi: fix the overhead of the horizontal front porch
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 6 Oct 2019 16:03:01 +0000 (00:03 +0800)
committerMaxime Ripard <mripard@kernel.org>
Mon, 7 Oct 2019 12:01:25 +0000 (14:01 +0200)
commit81fafb9488a1d1347b39ad456d85e29649383749
tree916b2a25b54e49aba40e039543e156e53e28d3b6
parent10d8f308ba3e4d2c8753dd7a143af6f4a96cc29b
drm/sun4i: dsi: fix the overhead of the horizontal front porch

The formula in the BSP kernel indicates that a 16-byte overhead is used
when sending the HFP. However, this value is currently set to 6 in the
sun6i_mipi_dsi driver, which makes some panels flashing.

Fix this overhead value.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191006160303.24413-3-icenowy@aosc.io
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c