drm/atmel-hlcdc: 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:37 +0000 (12:08 +0100)
commite2e287fa4ad136c6375ec1c55ecae7c7e8cc969a
treee5c5dccc3fb8bd2cc3162ef5f61ed9a6df293f7d
parent4cc4e1b40f3ff5227c9f326542b75947b464a635
drm/atmel-hlcdc: 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.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.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/23518426a46320dd884465cebec0961f839f2972.1516617243.git-series.maxime.ripard@free-electrons.com
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c