]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: Disable blending for win0
authorKristian H. Kristensen <hoegsberg@gmail.com>
Wed, 18 Apr 2018 17:31:52 +0000 (10:31 -0700)
committerSean Paul <seanpaul@chromium.org>
Tue, 1 May 2018 19:56:21 +0000 (15:56 -0400)
commit51ddb22a19cd6e9423da3c4b9e432a82561f4bfe
tree007b629136fbb4a6412fab6dfe11471b7c3ccd90
parent818fa8e30f1e48cd496463e7fcdbf657a16e9e3b
drm/rockchip: Disable blending for win0

Blending win0 with the background color doesn't seem to work
correctly. We only get the background color, no matter the contents of
the win0 framebuffer.  However, blending pre-multiplied color with the
default opaque black default background color is a no-op, so we can
just disable blending to get the correct result.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Cc: Sandy Huang <hjc@rock-chips.com>
Cc: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180418173152.93246-1-hoegsberg@chromium.org
drivers/gpu/drm/rockchip/rockchip_drm_vop.c