]> git.baikalelectronics.ru Git - kernel.git/commit
drm/meson: viu: add AFBC modules routing functions
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 21 Oct 2019 09:15:07 +0000 (11:15 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 10 Dec 2019 09:09:38 +0000 (10:09 +0100)
commit97d0b828f1ef41e67027e7a223880e572a41332c
tree65252d2775cec89c3abb26dbc937aa52b321ae61
parent7f79617a523509751f4ffa969acc7c05762f1691
drm/meson: viu: add AFBC modules routing functions

The Amlogic G12A AFBC Decoder pixel input need to be routed diferently
than the Amlogic GXM AFBC decoder, this adds support for routing the
VIU OSD1 pixel source to the AFBC "Mali Unpack" module.

This "Mali Unpack" module is also configured with a static RGBA mapping
for now until we support more pixel formats.

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