]> 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)
commit465909486c7a7fcebbc33d5583dca80e077e504c
tree592676968a66372471186784608b12fef6cc9729
parentf7021b42f247e4dd2c7f71e59865e569f2ad8008
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