]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:59:47 +0000 (16:59 +0200)
commit5abf370bbcefca7720c7ac4d9d3aeaee1217f221
tree049d444d2197c1c2a98b786dee7eff9454b536a5
parent167486450dbef622e05b639565a4bc9726275b8d
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