]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: add format_is_yuv() helper
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 May 2017 06:13:32 +0000 (09:13 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 07:57:23 +0000 (10:57 +0300)
commit7d977e4104fa91f2822a8ca5db16bb6427238ed0
tree61c8c8119b46ffe330551fc26df0429c62f862a8
parenta0d63ed037d3cff9141c97e9b60dfa7b343212c9
drm/omap: add format_is_yuv() helper

In a few places the dispc driver needs to know whether the pixel format
is an YUV format. Add a helper to figure that out.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/dispc.c