drm/exynos: check a pixel format to a particular window layer
authorInki Dae <inki.dae@samsung.com>
Tue, 20 Aug 2013 05:28:56 +0000 (14:28 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 5 Sep 2013 04:43:44 +0000 (13:43 +0900)
commit5cc4621a17b1e63738658a93b9a5667c876a22e4
tree0e6380d347be8c8229e4fc8996c0cff1c91345a9
parenta4f38a80f62bb613525563860cbca87f583081b5
drm/exynos: check a pixel format to a particular window layer

This patch checks if a requested window supports alpha channel or not.

In case of s3c64xx, window 0 doesn't support alpha channel so if
the request pixel format is ARGB8888 then change it to XRGB8888.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c