drm/sun4i: backend: Support alpha property on lowest plane
authorMaxime Ripard <maxime@cerno.tech>
Tue, 28 Jul 2020 13:48:09 +0000 (15:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 11:55:29 +0000 (13:55 +0200)
commit272e10fbf4d021e69ff90b1995fae7065d4cc404
tree18c1d28aa538fdbe310150e6ca4348514a309e3d
parente856612eed7eafa5aab579c9ccd0cf203c0781c3
drm/sun4i: backend: Support alpha property on lowest plane

[ Upstream commit e359c70462d2a82aae80274d027351d38792dde6 ]

Unlike what we previously thought, only the per-pixel alpha is broken on
the lowest plane and the per-plane alpha isn't. Remove the check on the
alpha property being set on the lowest plane to reject a mode.

Fixes: dcf496a6a608 ("drm/sun4i: sun4i: Introduce a quirk for lowest plane alpha support")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Cc: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200728134810.883457-1-maxime@cerno.tech
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/sun4i/sun4i_backend.c