]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit507c69d5f5cda75e5b7a5e191a4efdbdefa7967c
treed73beeee81d9d04433191bab700c2979ff5d1afe
parentd1d2f2887813457fc3e9abff95cd389f4b7f5a5c
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