drm/atmel-exynos: Use the alpha format field in drm_format_info
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 22 Dec 2017 14:31:27 +0000 (15:31 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 29 Jan 2018 11:08:42 +0000 (12:08 +0100)
commitc89e1d27f77ec47fb7517c3689442765a60be991
tree07487efadbd02badf77ad0123acaeb2377cae90a
parente2e287fa4ad136c6375ec1c55ecae7c7e8cc969a
drm/atmel-exynos: Use the alpha format field in drm_format_info

Now that the drm_format_info has a alpha field to tell if a format embeds
an alpha component in it, let's use it.

Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/cb1bdfbb481419a17cc4f6c8a1f07930136ac13f.1516617243.git-series.maxime.ripard@free-electrons.com
drivers/gpu/drm/exynos/exynos_mixer.c