Skip to content
Commit b8e3dd2e authored by Carlo Caione's avatar Carlo Caione Committed by Greg Kroah-Hartman
Browse files

drm/meson: Reduce the FIFO lines held when AFBC is not used

[ Upstream commit 3b754ed6 ]

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: 24e0d405

 ("drm/meson: hold 32 lines after vsync to give time for AFBC start")
Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
Acked-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
[narmstrong: added fixes tag]
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221216-afbc_s905x-v1-0-033bebf780d9@baylibre.com
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 718d28ce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment