drm: rockchip: set alpha_en to 0 if it is not used
authorAlex Bee <knaerzche@gmail.com>
Fri, 28 May 2021 13:05:54 +0000 (15:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:56:16 +0000 (16:56 +0200)
commitef61b0826c81497b581eaacde39b6d95fee2ac09
tree66f46791dbdfc40d6c107043b59eec5acfce14bf
parent7902ee2faefa2c5a4cbc1b8a5f7e6f11d57f2814
drm: rockchip: set alpha_en to 0 if it is not used

[ Upstream commit 046e0db975695540c9d9898cdbf0b60533d28afb ]

alpha_en should be set to 0 if it is not used, i.e. to disable alpha
blending if it was enabled before and should be disabled now.

Fixes: 2aae8ed1f390 ("drm/rockchip: Add per-pixel alpha support for the PX30 VOP")
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210528130554.72191-6-knaerzche@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c