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)
commit6930afdccfd2b3e6669c305d97958d81cf0d072e
treebfff374703164662e7f4dab97270691f7420e984
parente7268c699bbe578e6dcf02e9f7f5a267837bc18f
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