drm/tinydrm: Add tinydrm_xrgb8888_to_gray8() helper
authorNoralf Trønnes <noralf@tronnes.org>
Thu, 8 Jun 2017 15:14:34 +0000 (17:14 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Fri, 14 Jul 2017 17:29:59 +0000 (19:29 +0200)
commit379ea9a1a59a5a32c8db6f164e80a3fd00cb3781
tree9eb41b7750a5e7f4924ff59b20aa22dea155ea09
parent7f0dc77772821e7889f945105689bf2b67587bfe
drm/tinydrm: Add tinydrm_xrgb8888_to_gray8() helper

Drm has no monochrome or greyscale support so add a conversion
from the common format XR24.

Also reorder includes into the common order.

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1496934875-51984-4-git-send-email-noralf@tronnes.org
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
include/drm/tinydrm/tinydrm-helpers.h