drm/exynos: mask alpha bit in the register when output format is XRGB8888 15/40215/2
authorIngi Kim <ingi2.kim@samsung.com>
Fri, 29 May 2015 08:07:20 +0000 (17:07 +0900)
committerIngi Kim <ingi2.kim@samsung.com>
Mon, 1 Jun 2015 08:52:35 +0000 (01:52 -0700)
commitf9d90e89a8264ddf6670cd4f3c2626fcc2d2596a
tree73466ab6008475bf59729ad07ed23644271b80fa
parentcc34cface463fb5cc3f9e74a84263244e4d66095
drm/exynos: mask alpha bit in the register when output format is XRGB8888

When color format changes YUV to RGB by ipp gsc,
the color of output image seems to come out.

The alpha value should have ignored but bits
in the GSCALER_OUT_CON register do not set to 0xff(masking alpha value)

This patch masks alpha bits in the GSCALER_OUT_CON register
when the userspace decide to use XRGB8888.

Change-Id: I78bf2d8214cbdb10568b3bb4b9af6b9bf28752a5
Signed-off-by: Ingi Kim <ingi2.kim@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gsc.c