gpu: ipu-cpmem: add bayer formats to ipu_cpmem_set_image
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 6 Feb 2017 11:44:08 +0000 (12:44 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 15 Mar 2017 14:28:27 +0000 (15:28 +0100)
commit1762ed65c700efb843df8d19a55742566872aade
tree47b527e9e690060ab002d97148b5b8e579f52900
parent5cd4337135f5d79bf655fa421980e467d76ba125
gpu: ipu-cpmem: add bayer formats to ipu_cpmem_set_image

The IPU does not natively understand bayer formats, but it can pass them
through unchanged. Add support for setting the image base address and
cropping offset to ipu_cpmem_set_image.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-cpmem.c