drm/sun4i: Remove the plane description structure
authorMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 16 Feb 2018 17:39:33 +0000 (18:39 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 22 Feb 2018 15:20:10 +0000 (16:20 +0100)
commit70d2850ee39d3be86b484cd1f15545e0038109ff
tree4d83a234bb36cdbfca7eb88cee2eb4e6fa038530
parent8f1f25534fff09f54d75ea8fac4ea8f35fb385d6
drm/sun4i: Remove the plane description structure

The plane description structure was mostly needed to differentiate the
formats usable on the primary plane (because of its lowest position), and
assign the pipes. Now that both are dynamically checked and assigned, we
can remove the static definition.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6b09e3698e692c3338f70a5ae1e5a580f9dd08ee.1518802627.git-series.maxime.ripard@bootlin.com
drivers/gpu/drm/sun4i/sun4i_layer.c