OSDN Git Service

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)
commit24e0d4058eff7cdf66976c66be42ac89f94d1d16
tree592676968a66372471186784608b12fef6cc9729
parent1b85270ff156d567bb4e8e235fa7069edd6c7b1f
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