drm/exynos: Properly report supported formats for each device
authorMarek Szyprowski <m.szyprowski@samsung.com>
Sun, 30 Aug 2015 15:53:57 +0000 (00:53 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 27 Jul 2016 01:27:56 +0000 (10:27 +0900)
commit360e2911a972f10a36f888b3c24f8281fe5320c6
treedd7d0eb31d07618ba7b997a5b11c5bc753a79aa6
parentffc2c34bf0ee29dd6d6a793a44c45942494945d3
drm/exynos: Properly report supported formats for each device

Exynos DRM reported that all planes for all supported sub-devices supports
only three pixel formats: XRGB24, ARGB24 and NV12. This patch lets each
Exynos DRM sub-drivers to provide the list of supported pixel formats
and registers this list to DRM core.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
[jy0922.shim: backported from original mainline commit]
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Change-Id: I7f486b9f2d776a8fdd8cb0c758100eba8de31ef6
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
drivers/gpu/drm/exynos/exynos7_drm_decon.c
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_plane.c
drivers/gpu/drm/exynos/exynos_drm_plane.h
drivers/gpu/drm/exynos/exynos_drm_vidi.c
drivers/gpu/drm/exynos/exynos_mixer.c