]> git.baikalelectronics.ru Git - kernel.git/commit
drm/meson: crtc: add OSD1 plane AFBC commit
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 21 Oct 2019 09:15:09 +0000 (11:15 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 10 Dec 2019 09:10:29 +0000 (10:10 +0100)
commit5a615b11176cde29bc7acb8ad9beda7c1b5df8a8
tree4a20a91e5984bf6a5c3effd24b5582e57f773906
parent465909486c7a7fcebbc33d5583dca80e077e504c
drm/meson: crtc: add OSD1 plane AFBC commit

Finally, setup the VIU registers and start the AFBC decoder to support
displaying AFBC encoded buffers on Amlogic GXM and G12A SoCs.

The RDMA is used here to reset and program the AFBC decoder unit
on each vsync without involving the interrupt handler that can
be masked for a long period of time, producing display glitches.

The vsync irq must still be left enabled otherwise the RDMA modules isn't
trigerred when the interrupt line is masked.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191021091509.3864-10-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_crtc.c