forked from Minki/linux
da676c6aa6
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 |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
sun4i_backend.c | ||
sun4i_backend.h | ||
sun4i_crtc.c | ||
sun4i_crtc.h | ||
sun4i_dotclock.c | ||
sun4i_dotclock.h | ||
sun4i_drv.c | ||
sun4i_drv.h | ||
sun4i_framebuffer.c | ||
sun4i_framebuffer.h | ||
sun4i_frontend.c | ||
sun4i_frontend.h | ||
sun4i_hdmi_ddc_clk.c | ||
sun4i_hdmi_enc.c | ||
sun4i_hdmi_i2c.c | ||
sun4i_hdmi_tmds_clk.c | ||
sun4i_hdmi.h | ||
sun4i_layer.c | ||
sun4i_layer.h | ||
sun4i_lvds.c | ||
sun4i_lvds.h | ||
sun4i_rgb.c | ||
sun4i_rgb.h | ||
sun4i_tcon.c | ||
sun4i_tcon.h | ||
sun4i_tv.c | ||
sun6i_drc.c | ||
sun6i_mipi_dsi.c | ||
sun6i_mipi_dsi.h | ||
sun8i_csc.c | ||
sun8i_csc.h | ||
sun8i_dw_hdmi.c | ||
sun8i_dw_hdmi.h | ||
sun8i_hdmi_phy_clk.c | ||
sun8i_hdmi_phy.c | ||
sun8i_mixer.c | ||
sun8i_mixer.h | ||
sun8i_tcon_top.c | ||
sun8i_tcon_top.h | ||
sun8i_ui_layer.c | ||
sun8i_ui_layer.h | ||
sun8i_ui_scaler.c | ||
sun8i_ui_scaler.h | ||
sun8i_vi_layer.c | ||
sun8i_vi_layer.h | ||
sun8i_vi_scaler.c | ||
sun8i_vi_scaler.h | ||
sunxi_engine.h |