linux/drivers/gpu/drm/meson
Neil Armstrong e88230a374 drm/meson: fix vsync buffer update
The plane buffer address/stride/height was incorrectly updated in the
plane_atomic_update operation instead of the vsync irq.
This patch delays this operation in the vsync irq along with the
other plane delayed setup.

This issue was masked using legacy framebuffer and X11 modesetting, but
is clearly visible using gbm rendering when buffer is submitted late after
vblank, like using software decoding and OpenGL rendering in Kodi.
With this patch, tearing and other artifacts disappears completely.

Cc: Michal Lazo <michal.lazo@gmail.com>
Fixes: bbbe775ec5 ("drm: Add support for Amlogic Meson Graphic Controller")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1518689976-23292-1-git-send-email-narmstrong@baylibre.com
2018-02-20 10:03:52 +01:00
..
Kconfig drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY 2017-04-04 17:49:31 +02:00
Makefile drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY 2017-04-04 17:49:31 +02:00
meson_canvas.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_canvas.h
meson_crtc.c drm/meson: fix vsync buffer update 2018-02-20 10:03:52 +01:00
meson_crtc.h
meson_drv.c drm/meson: Use drm_gem_fb_create() 2017-10-01 17:01:39 +02:00
meson_drv.h drm/meson: fix vsync buffer update 2018-02-20 10:03:52 +01:00
meson_dw_hdmi.c drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback 2017-06-05 12:09:50 +05:30
meson_dw_hdmi.h drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY 2017-04-04 17:49:31 +02:00
meson_plane.c drm/meson: fix vsync buffer update 2018-02-20 10:03:52 +01:00
meson_plane.h
meson_registers.h drm/meson: Add missing HDMI register 2017-04-04 17:49:30 +02:00
meson_vclk.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_vclk.h drm/meson: add support for HDMI clock support 2017-04-04 17:49:31 +02:00
meson_venc_cvbs.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
meson_venc_cvbs.h
meson_venc.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_venc.h drm/meson: Add support for HDMI venc modes and settings 2017-04-04 17:49:31 +02:00
meson_viu.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_viu.h
meson_vpp.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_vpp.h drm/meson: Add support for HDMI venc modes and settings 2017-04-04 17:49:31 +02:00