drm/meson: Add G12A Support for the Overlay video plane
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 25 Mar 2019 14:18:19 +0000 (15:18 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 9 Apr 2019 09:25:42 +0000 (11:25 +0200)
commit11c2d4c751e5b339f8a3c6b9f19120bb331af0ef
tree6558cd1b3c99c63a070cb5350823d03918d58ba2
parent490f50c109d1178aae4124cd9138b231d030e554
drm/meson: Add G12A Support for the Overlay video plane

Amlogic G12A SoC supports the same set of Video Planes, but now
are handled by the new OSD plane blender module.

This patch uses the same VD1 plane for G12A, using the exact same scaler
and VD1 setup registers, except using the new blender register to
disable the plane.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: fix typo in commit log]
Tested-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190325141824.21259-7-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_overlay.c