linux/drivers/gpu/drm/meson
Carlo Caione b8e3dd2eba drm/meson: Reduce the FIFO lines held when AFBC is not used
[ Upstream commit 3b754ed6d1 ]

Having a bigger number of FIFO lines held after vsync is only useful to
SoCs using AFBC to give time to the AFBC decoder to be reset, configured
and enabled again.

For SoCs not using AFBC this, on the contrary, is causing on some
displays issues and a few pixels vertical offset in the displayed image.

Conditionally increase the number of lines held after vsync only for
SoCs using AFBC, leaving the default value for all the others.

Fixes: 24e0d4058e ("drm/meson: hold 32 lines after vsync to give time for AFBC start")
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
[narmstrong: added fixes tag]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221216-afbc_s905x-v1-0-033bebf780d9@baylibre.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-12 12:02:22 +01:00
..
Kconfig drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
Makefile
meson_crtc.c
meson_crtc.h
meson_drv.c drm/meson: remove drm bridges at aggregate driver unbind time 2022-09-23 09:45:49 +00:00
meson_drv.h drm/meson: remove drm bridges at aggregate driver unbind time 2022-09-23 09:45:49 +00:00
meson_dw_hdmi.c
meson_dw_hdmi.h
meson_encoder_cvbs.c drm/meson: Fix return type of meson_encoder_cvbs_mode_valid() 2022-12-31 13:33:00 +01:00
meson_encoder_cvbs.h drm/meson: remove drm bridges at aggregate driver unbind time 2022-09-23 09:45:49 +00:00
meson_encoder_hdmi.c drm/meson: remove drm bridges at aggregate driver unbind time 2022-09-23 09:45:49 +00:00
meson_encoder_hdmi.h drm/meson: remove drm bridges at aggregate driver unbind time 2022-09-23 09:45:49 +00:00
meson_osd_afbcd.c
meson_osd_afbcd.h
meson_overlay.c drm/gem: rename struct drm_gem_dma_object.{paddr => dma_addr} 2022-08-03 18:32:27 +02:00
meson_overlay.h
meson_plane.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
meson_plane.h
meson_rdma.c
meson_rdma.h
meson_registers.h
meson_vclk.c
meson_vclk.h
meson_venc.c
meson_venc.h
meson_viu.c drm/meson: Reduce the FIFO lines held when AFBC is not used 2023-01-12 12:02:22 +01:00
meson_viu.h
meson_vpp.c
meson_vpp.h