]> git.baikalelectronics.ru Git - kernel.git/commit
drm/meson: hold 32 lines after vsync to give time for AFBC start
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 21 Oct 2019 09:15:08 +0000 (11:15 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 10 Dec 2019 09:09:56 +0000 (10:09 +0100)
commit3fc7ff6ff5e8d3b334487739ec26f9b27eaa9f93
tree592676968a66372471186784608b12fef6cc9729
parent97d0b828f1ef41e67027e7a223880e572a41332c
drm/meson: hold 32 lines after vsync to give time for AFBC start

When using an AFBC encoded frame, the AFBC Decoder must be reset,
configured and enabled at each vsync IRQ.

To leave time for that, use the maximum lines hold time to give time
for AFBC setup and avoid visual glitches.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
[narmstrong: fix typo in commit log]
Link: https://patchwork.freedesktop.org/patch/msgid/20191021091509.3864-9-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_viu.c