]> 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)
commitfcc53d46bf682bc3fa31eccded5241cc5ae751d7
tree007b629136fbb4a6412fab6dfe11471b7c3ccd90
parentcc8d859f3ee6746da474350cbd58b842f15d11e0
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