drm/meson: Reduce the FIFO lines held when AFBC is not used
stable inclusion from stable-v5.10.163 commit 9f0ff5de3e81635335e186f737f0c57be2526f4d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7PJ9N Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9f0ff5de3e81635335e186f737f0c57be2526f4d ---------------------------------------------------- [ 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: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> Signed-off-by:
zhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
Loading
Please sign in to comment