gpu: ipu-v3: Add ipu_stride_to_bytes()
authorSteve Longerbeam <slongerbeam@gmail.com>
Thu, 26 Jun 2014 01:05:43 +0000 (18:05 -0700)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 2 Sep 2014 12:55:50 +0000 (14:55 +0200)
commit607788a59bf34b98f8f604e0727a9a2b81c7d6f6
treebfff374703164662e7f4dab97270691f7420e984
parent0d10e83eaef200ac6118cfa9fefdc79102fb83b2
gpu: ipu-v3: Add ipu_stride_to_bytes()

Adds ipu_stride_to_bytes(), which converts a pixel stride to bytes,
suitable for passing to cpmem.

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