]> 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)
commit465a57f043939a34833589bd768203d332926f4a
treed73beeee81d9d04433191bab700c2979ff5d1afe
parent14d661e952a7a5859bef6bef00c46d4c9ed0b54d
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