summaryrefslogtreecommitdiff
path: root/drivers/mxc/ipu3/ipu_prv.h
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2011-11-04 16:00:09 +0800
committerJason Chen <b02280@freescale.com>2011-11-04 16:12:08 +0800
commit2ffceb2f100bf359f87057fc65e07da7761208f4 (patch)
tree70abb00de39a03b27d799e65ddf39a75bb8d67a9 /drivers/mxc/ipu3/ipu_prv.h
parent80f8f404b890ef5d0b41bcd9aa5834912279b5a5 (diff)
ENGR00160875-3 ipuv3 dev: low performance if enable rotation
1. no dma alloc for rot buf every time which will cost time. 2. fix split mode condition. 3. export some functions. This patch for driver file. Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'drivers/mxc/ipu3/ipu_prv.h')
-rw-r--r--drivers/mxc/ipu3/ipu_prv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mxc/ipu3/ipu_prv.h b/drivers/mxc/ipu3/ipu_prv.h
index 7a17a0ea4d07..7c803a1693de 100644
--- a/drivers/mxc/ipu3/ipu_prv.h
+++ b/drivers/mxc/ipu3/ipu_prv.h
@@ -132,6 +132,11 @@ struct ipu_soc {
struct mutex task_lock[2];
wait_queue_head_t waitq[2];
struct task_struct *thread[2];
+ struct rot_mem {
+ void *vaddr;
+ dma_addr_t paddr;
+ int size;
+ } rot_dma[2];
};
struct ipu_channel {