gpu: ipu-cpmem: add 8-bit grayscale support to ipu_cpmem_set_image

Add the missing offset calculation for grayscale images. Since the IPU
only supports capturing greyscale in raw passthrough mode, it is the
same as 8-bit bayer formats.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
Philipp Zabel 2018-01-22 16:06:16 +01:00
commit 6d36b7fec6