drm/exynos: fix fimd pixel format setting
authorInki Dae <inki.dae@samsung.com>
Tue, 20 Aug 2013 04:51:02 +0000 (13:51 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:44:01 +0000 (11:44 +0900)
commit6c41ac51547bdcc15467f05dd54f8a48eadc0450
treeef98815c909b608b1d210635453a2316df032de7
parent80037d6e163896c5934fec8d85c6c292ee65577a
drm/exynos: fix fimd pixel format setting

This patch fixes wrong pixel format setting.

A pixel format is decided according to bpp and depth, or user-requested
format but fimd driver considered only bpp value to decide a proper pixel
format. So this patch makes a proper pixel format to be set according
to drm_framebuffer's pixel_format which is set by addfb with bpp and
depth, or addfb2 with user-requested format.

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