OSDN Git Service

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)
commit5edec14c73553941ea80f3527f3be02c071caac6
tree61c8c8119b46ffe330551fc26df0429c62f862a8
parent185e23e1f63aa3f2a7ad77f9315b5f8d84002bb0
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