]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit1b85270ff156d567bb4e8e235fa7069edd6c7b1f
tree65252d2775cec89c3abb26dbc937aa52b321ae61
parent68e2f64ee4603aeab9c3bb907d19f5cd30d1c6ff
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