drm: rockchip: set alpha_en to 0 if it is not used
[ Upstream commit046e0db975] 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:2aae8ed1f3("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>
This commit is contained in:
parent
7902ee2fae
commit
ef61b0826c
1 changed files with 1 additions and 0 deletions
|
|
@ -1013,6 +1013,7 @@ static void vop_plane_atomic_update(struct drm_plane *plane,
|
|||
VOP_WIN_SET(vop, win, alpha_en, 1);
|
||||
} else {
|
||||
VOP_WIN_SET(vop, win, src_alpha_ctl, SRC_ALPHA_EN(0));
|
||||
VOP_WIN_SET(vop, win, alpha_en, 0);
|
||||
}
|
||||
|
||||
VOP_WIN_SET(vop, win, enable, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue