drm: rcar-du: Lift z-pos restriction on primary plane for Gen3
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 7 Jun 2022 16:33:22 +0000 (19:33 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 7 Jul 2022 02:24:36 +0000 (05:24 +0300)
commit676ad8e997036e2f815c293b76c356fb7cc97a08
tree8b26849dd9cecb9e61e84c88a22ab492aa3252aa
parentb7aaa61726cbc7b941007af14a9f991a828c67e4
drm: rcar-du: Lift z-pos restriction on primary plane for Gen3

There's no reason to require the primary plane to always be at the
bottom of the stack, as the VSP supports arbitrary ordering of planes,
and the KMS API doesn't have such a requirement either. Lift the
restriction.

As the primary plane can now be positioned arbitrarily, enable control
of its alpha channel as well.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Tomohito Esaki <etom@igel.co.jp>
drivers/gpu/drm/rcar-du/rcar_du_vsp.c