diff options
-rw-r--r-- | drivers/gpu/ipu-v3/ipu-cpmem.c | 6 | ||||
-rw-r--r-- | include/video/imx-ipu-v3.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/ipu-v3/ipu-cpmem.c b/drivers/gpu/ipu-v3/ipu-cpmem.c index 7adfa78a48bc..28adf39e4041 100644 --- a/drivers/gpu/ipu-v3/ipu-cpmem.c +++ b/drivers/gpu/ipu-v3/ipu-cpmem.c | |||
@@ -260,6 +260,12 @@ void ipu_cpmem_set_burstsize(struct ipuv3_channel *ch, int burstsize) | |||
260 | }; | 260 | }; |
261 | EXPORT_SYMBOL_GPL(ipu_cpmem_set_burstsize); | 261 | EXPORT_SYMBOL_GPL(ipu_cpmem_set_burstsize); |
262 | 262 | ||
263 | void ipu_cpmem_set_block_mode(struct ipuv3_channel *ch) | ||
264 | { | ||
265 | ipu_ch_param_write_field(ch, IPU_FIELD_BM, 1); | ||
266 | } | ||
267 | EXPORT_SYMBOL_GPL(ipu_cpmem_set_block_mode); | ||
268 | |||
263 | int ipu_cpmem_set_format_rgb(struct ipuv3_channel *ch, | 269 | int ipu_cpmem_set_format_rgb(struct ipuv3_channel *ch, |
264 | const struct ipu_rgb *rgb) | 270 | const struct ipu_rgb *rgb) |
265 | { | 271 | { |
diff --git a/include/video/imx-ipu-v3.h b/include/video/imx-ipu-v3.h index b106c9b8b3e9..d2cc207985d8 100644 --- a/include/video/imx-ipu-v3.h +++ b/include/video/imx-ipu-v3.h | |||
@@ -195,6 +195,7 @@ void ipu_cpmem_set_high_priority(struct ipuv3_channel *ch); | |||
195 | void ipu_cpmem_set_buffer(struct ipuv3_channel *ch, int bufnum, dma_addr_t buf); | 195 | void ipu_cpmem_set_buffer(struct ipuv3_channel *ch, int bufnum, dma_addr_t buf); |
196 | void ipu_cpmem_interlaced_scan(struct ipuv3_channel *ch, int stride); | 196 | void ipu_cpmem_interlaced_scan(struct ipuv3_channel *ch, int stride); |
197 | void ipu_cpmem_set_burstsize(struct ipuv3_channel *ch, int burstsize); | 197 | void ipu_cpmem_set_burstsize(struct ipuv3_channel *ch, int burstsize); |
198 | void ipu_cpmem_set_block_mode(struct ipuv3_channel *ch); | ||
198 | int ipu_cpmem_set_format_rgb(struct ipuv3_channel *ch, | 199 | int ipu_cpmem_set_format_rgb(struct ipuv3_channel *ch, |
199 | const struct ipu_rgb *rgb); | 200 | const struct ipu_rgb *rgb); |
200 | int ipu_cpmem_set_format_passthrough(struct ipuv3_channel *ch, int width); | 201 | int ipu_cpmem_set_format_passthrough(struct ipuv3_channel *ch, int width); |