drm/meson: overlay: setup overlay for Amlogic FBC
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 3 Jul 2020 08:07:25 +0000 (10:07 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 3 Jul 2020 08:12:29 +0000 (10:12 +0200)
commite860785d5730665e04e0ac301aa14ed3779c4d92
treed73beeee81d9d04433191bab700c2979ff5d1afe
parent1d4eff87878977fde110f311c4fa123e93ba2b3d
drm/meson: overlay: setup overlay for Amlogic FBC

Setup the Amlogic FBC decoder for the VD1 video overlay plane.

The VD1 Amlogic FBC decoder is integrated in the pipeline like the
YUV pixel reading/formatter but used a direct memory address instead.

This adds support for the basic layout, and needs to calculate the content
body size since the header is allocated after.

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