linux/drivers/gpu/drm/sun4i
Maxime Ripard da676c6aa6
drm/sun4i: dsi: Change the start delay calculation
The current calculation for the video start delay in the current DSI driver
is that it is the total vertical size, minus the front porch and sync length,
plus 1. This equals to the active vertical size plus the back porch plus 1.

That 1 is coming in the Allwinner BSP from an variable that is set to 1.
However, if we look at the Allwinner BSP more closely, and especially in
the "legacy" code for the display (in drivers/video/sunxi/legacy/), we can
see that this variable is actually computed from the porches and the sync
minus 10, clamped between 8 and 100.

This fixes the start delay symptom we've seen on some panels (vblank
timeouts with vertical white stripes at the bottom of the panel).

Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6e5f72e68f47ca0223877464bf12f0c3f3978de8.1549896081.git-series.maxime.ripard@bootlin.com
2019-02-19 11:08:21 +01:00
..
Kconfig phy: Move Allwinner A31 D-PHY driver to drivers/phy/ 2019-02-07 09:34:49 +01:00
Makefile phy: Move Allwinner A31 D-PHY driver to drivers/phy/ 2019-02-07 09:34:49 +01:00
sun4i_backend.c drm/sun4i: Add support for A23 display pipeline 2019-01-25 10:42:07 +01:00
sun4i_backend.h drm/sun4i: Pass modifier to backend and frontend format support helpers 2018-11-27 10:12:56 +01:00
sun4i_crtc.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
sun4i_crtc.h
sun4i_dotclock.c drm/sun4i: Fix an ulong overflow in the dotclock driver 2018-10-19 11:50:25 +02:00
sun4i_dotclock.h
sun4i_drv.c drm/sun4i: Add support for A23 display pipeline 2019-01-25 10:42:07 +01:00
sun4i_drv.h
sun4i_framebuffer.c drm/sun4i: Use drm_fbdev_generic_setup() 2018-11-01 15:25:11 +01:00
sun4i_framebuffer.h drm/sun4i: Use drm_fbdev_generic_setup() 2018-11-01 15:25:11 +01:00
sun4i_frontend.c drm/sun4i: Add support for A23 display pipeline 2019-01-25 10:42:07 +01:00
sun4i_frontend.h drm/sun4i: frontend: Move the FIR filter phases to our quirks 2019-01-18 21:12:26 +01:00
sun4i_hdmi_ddc_clk.c
sun4i_hdmi_enc.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
sun4i_hdmi_i2c.c
sun4i_hdmi_tmds_clk.c drm/sun4i: hdmi: Fix double flag assignation 2018-10-29 14:19:51 +01:00
sun4i_hdmi.h
sun4i_layer.c drm/sun4i: layer: support just backend formats when frontend is unavailable 2019-01-25 10:41:58 +01:00
sun4i_layer.h drm/sun4i: backend: Assign the pipes automatically 2018-02-22 16:19:52 +01:00
sun4i_lvds.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
sun4i_lvds.h
sun4i_rgb.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
sun4i_rgb.h
sun4i_tcon.c drm/sun4i: dsi: Restrict DSI tcon clock divider 2019-02-19 11:08:17 +01:00
sun4i_tcon.h drm/sun4i: tcon: Support an active-low DE signal with RGB interface 2018-11-09 08:31:28 +01:00
sun4i_tv.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
sun6i_drc.c drm/sun4i: Add support for A23 display pipeline 2019-01-25 10:42:07 +01:00
sun6i_mipi_dsi.c drm/sun4i: dsi: Change the start delay calculation 2019-02-19 11:08:21 +01:00
sun6i_mipi_dsi.h drm/sun4i: dsi: Restrict DSI tcon clock divider 2019-02-19 11:08:17 +01:00
sun8i_csc.c drm/sun4i: Add basic support for DE3 2018-11-05 11:48:23 +01:00
sun8i_csc.h
sun8i_dw_hdmi.c drm/sun4i: Add support for Synopsys HDMI PHY 2018-11-05 11:49:05 +01:00
sun8i_dw_hdmi.h drm/sun4i: Add support for Synopsys HDMI PHY 2018-11-05 11:49:05 +01:00
sun8i_hdmi_phy_clk.c drm/sun4i: Add support for second clock parent to DW HDMI PHY clk driver 2018-06-27 21:44:02 +02:00
sun8i_hdmi_phy.c drm/sun4i: Add support for H6 HDMI PHY 2018-11-05 11:49:05 +01:00
sun8i_mixer.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
sun8i_mixer.h drm/sun4i: Add basic support for DE3 2018-11-05 11:48:23 +01:00
sun8i_tcon_top.c drm: sun4i: add support for H6 TCON TOP 2018-11-05 11:49:06 +01:00
sun8i_tcon_top.h drm/sun4i: tcon-top: Add helpers for mux switching 2018-07-11 09:54:54 +02:00
sun8i_ui_layer.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
sun8i_ui_layer.h drm/sun4i: Rework DE2 register defines 2018-11-05 10:34:43 +01:00
sun8i_ui_scaler.c drm/sun4i: Add basic support for DE3 2018-11-05 11:48:23 +01:00
sun8i_ui_scaler.h drm/sun4i: Add basic support for DE3 2018-11-05 11:48:23 +01:00
sun8i_vi_layer.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
sun8i_vi_layer.h drm/sun4i: Add basic support for DE3 2018-11-05 11:48:23 +01:00
sun8i_vi_scaler.c drm/sun4i: Add basic support for DE3 2018-11-05 11:48:23 +01:00
sun8i_vi_scaler.h drm/sun4i: Add basic support for DE3 2018-11-05 11:48:23 +01:00
sunxi_engine.h drm/sun4i: Fix build warnings in sunxi_engine.h 2018-01-23 10:45:01 +01:00