drm/vkms: allow full alpha blending on all planes
authorMaíra Canal <mcanal@igalia.com>
Thu, 20 Apr 2023 23:22:27 +0000 (20:22 -0300)
committerMaíra Canal <mairacanal@riseup.net>
Wed, 26 Apr 2023 20:24:55 +0000 (17:24 -0300)
commita03f028542779fbdb0130b6a5e15445c94a859e8
tree53334e5a63bd369e2737214ff708852ecd5c8e7b
parent94545f27155df50d2db7a1c896ca6b8e81fb62d1
drm/vkms: allow full alpha blending on all planes

Before commit bc0d7fdefec6 ("drm: vkms: Supports to the case where
primary plane doesn't match the CRTC"), the composition was executed on
top of the primary plane. Therefore, the primary plane was not able to
support the alpha channel. After commit bc0d7fdefec6, this is possible,
as the composition is now executed on top of the CRTC.

So, allow all planes to support the alpha channel, making full alpha
blending possible in vkms.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Arthur Grillo <arthurgrillo@riseup.net>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230420232228.273340-1-mcanal@igalia.com
drivers/gpu/drm/vkms/vkms_plane.c