[PATCH 0/3] drm/sun4i: dsi: misc timing fixes

From: Icenowy Zheng
Date: Tue Oct 01 2019 - 04:11:16 EST


This patchset fixes some portion of timing calculation in sun6i_mipi_dsi
driver according to the BSP driver.

Two of the patches are reverting, one is fixing some misread of the BSP
source code, another is fixing a wrong refactor that actually breaks the
formula.

The other non-reverting patch is fixing a porch error which is usually
seen in the original driver commit. Most of porch errors are then fixed,
but this one gets ignored.

By applying these patches, several DSI panels are tested to be driven
properly by the timing provided by the vendor, including the LCD panel
of PinePhone "Don't Be Evil" DevKit, the final PinePhone panel and the
panel on PineTab. Without these patches they need dirty timing hacks to
work.

Icenowy Zheng (3):
Revert "drm/sun4i: dsi: Change the start delay calculation"
drm/sun4i: dsi: fix DRQ calculation
Revert "drm/sun4i: dsi: Rework a bit the hblk calculation"

drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)

--
2.21.0