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)
commit58badaa7783dc341daa1586235823fff94d3f96a
tree007b629136fbb4a6412fab6dfe11471b7c3ccd90
parentc720d8914397fe8efc568eea71e0dd240755a2d9
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