gpu: ipu-v3: Add helper function checking if pixfmt is planar
authorSteve Longerbeam <slongerbeam@gmail.com>
Thu, 26 Jun 2014 01:05:38 +0000 (18:05 -0700)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 2 Sep 2014 12:55:47 +0000 (14:55 +0200)
commit4cea940d34319fb5d5e2f4d554e23f766c228e90
tree5d5a443941cedd219c01fc58c8af4504fd98a771
parentf835f386a119c3f78f5acb93e86a4f025211739a
gpu: ipu-v3: Add helper function checking if pixfmt is planar

Add simple helper function returning true if passed pixel format is one
of supported planar ones.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-common.c
include/video/imx-ipu-v3.h