]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/sun4i: Add a few formats
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 18 Oct 2016 08:46:14 +0000 (10:46 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 2 Nov 2016 18:37:37 +0000 (19:37 +0100)
commit47d7fbb32c57c8d1722a3e9bd21e501e80fd0741
tree8638153286dc1184896c2eb24965d865395b32d1
parent49c440e87cd6f547f93d0dc53571ae0e11d9ec8f
drm/sun4i: Add a few formats

The planes can do more than what was previously exposed. Add support for
them.

Since we still have the issue that the primary plane cannot have any alpha
component, we will expose only the non-alpha formats in the primary
formats, and the alpha formats will be exposed in the overlays.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
drivers/gpu/drm/sun4i/sun4i_backend.c
drivers/gpu/drm/sun4i/sun4i_layer.c