drm/fsl-dcu: fix alpha blending
authorStefan Agner <stefan@agner.ch>
Wed, 18 Nov 2015 22:47:35 +0000 (14:47 -0800)
committerStefan Agner <stefan@agner.ch>
Fri, 26 Feb 2016 00:13:16 +0000 (16:13 -0800)
commit69855819c7683c88e7f136f98b790392ebf9fe88
tree4c4691aad5c9043c6d29733bc9e941f31c0a90f4
parent638c93f61988c6fcc821646399f1fdd3895a34a2
drm/fsl-dcu: fix alpha blending

Fix alpha blending by enabling alpha blending for the whole frame if
a color mode with alpha channel is selected (DRM_FORMAT_ARGB*). Also
support color modes without alpha channel (DRM_FORMAT_XRGB*) by just
not enabling alpha blending on layer level.

Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c