drm/sun4i: Add support for DE2 VI planes
authorJernej Skrabec <jernej.skrabec@siol.net>
Fri, 1 Dec 2017 06:05:42 +0000 (07:05 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Dec 2017 12:22:43 +0000 (13:22 +0100)
commit7480ba4d75714b4f5b080aa5a53e352b303d2663
treee294bf80eeb0c215e320c503567e288bbf37e652
parent5bb5f5dafa1ad3ac5ebb85e74a07193fda7aec4e
drm/sun4i: Add support for DE2 VI planes

This commit adds basic support for VI planes. They are meant for video
overlay and because of that they support YUV formats too. However, using
YUV format is not straightforward, so only RGB formats are supported for
now.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171201060550.10392-20-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/Makefile
drivers/gpu/drm/sun4i/sun8i_mixer.c
drivers/gpu/drm/sun4i/sun8i_vi_layer.c [new file with mode: 0644]
drivers/gpu/drm/sun4i/sun8i_vi_layer.h [new file with mode: 0644]