]> git.baikalelectronics.ru Git - kernel.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)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 28 May 2021 17:28:40 +0000 (19:28 +0200)
commit30f5d46aba1a521eef3f2ee444a94acd80bd458d
treee7aabda38b36c9ab90648373bfcbab3a490a313b
parent972eccb0fca9948e8f534249a5f92bcc3d77f6c7
drm: rockchip: set alpha_en to 0 if it is not used

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: 4c21f70b6d1f ("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
drivers/gpu/drm/rockchip/rockchip_drm_vop.c