aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorSteve Longerbeam <slongerbeam@gmail.com>2014-06-25 21:05:49 -0400
committerPhilipp Zabel <p.zabel@pengutronix.de>2014-09-02 08:55:52 -0400
commit9b9da0be37490c77e92a2101a8c5d469ce1102f4 (patch)
tree71610bee074f23349781caf05216403d09a6906f /drivers/gpu
parent4fd1a07af59bf5e1cfb73f7035bf525522cebc76 (diff)
gpu: ipu-cpmem: Add ipu_cpmem_set_block_mode()
Adds ipu_cpmem_set_block_mode(). Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/ipu-v3/ipu-cpmem.c6
1 files changed, 6 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};
261EXPORT_SYMBOL_GPL(ipu_cpmem_set_burstsize); 261EXPORT_SYMBOL_GPL(ipu_cpmem_set_burstsize);
262 262
263void ipu_cpmem_set_block_mode(struct ipuv3_channel *ch)
264{
265 ipu_ch_param_write_field(ch, IPU_FIELD_BM, 1);
266}
267EXPORT_SYMBOL_GPL(ipu_cpmem_set_block_mode);
268
263int ipu_cpmem_set_format_rgb(struct ipuv3_channel *ch, 269int ipu_cpmem_set_format_rgb(struct ipuv3_channel *ch,
264 const struct ipu_rgb *rgb) 270 const struct ipu_rgb *rgb)
265{ 271{