aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSammy He <r62914@freescale.com>2011-11-02 22:25:16 +0800
committerEric Miao <eric.miao@canonical.com>2011-11-10 07:39:02 +0800
commit420d6df4dc07ae5bc09e27fb8b8a5e6ec551ff30 (patch)
treeb78e5fb1f6652dd3f15f8ca3d3584a34d1bb7b34
parentb7939d1d1a6e5fe9d65341900977d43a8224c90d (diff)
downloadlinux-linaro-420d6df4dc07ae5bc09e27fb8b8a5e6ec551ff30.tar.gz
ENGR00161215-1 arch/arm: Add two new IOCTLs in mxc_vpu.h
Add IOCTL VPU_IOC_QUERY_BITWORK_MEM and VPU_IOC_SET_BITWORK_MEM for vpu driver. The two ioctls can be used when user allocates working buffer from user space, for exmaple, allocating it from pmem interface on android, then register it to vpu driver. Signed-off-by: Sammy He <r62914@freescale.com>
-rw-r--r--arch/arm/plat-mxc/include/mach/mxc_vpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc_vpu.h b/arch/arm/plat-mxc/include/mach/mxc_vpu.h
index 06fc69a7b09..dd162a22dfe 100644
--- a/arch/arm/plat-mxc/include/mach/mxc_vpu.h
+++ b/arch/arm/plat-mxc/include/mach/mxc_vpu.h
@@ -55,6 +55,8 @@ struct vpu_mem_desc {
#define VPU_IOC_REQ_VSHARE_MEM _IO(VPU_IOC_MAGIC, 9)
#define VPU_IOC_SYS_SW_RESET _IO(VPU_IOC_MAGIC, 11)
#define VPU_IOC_GET_SHARE_MEM _IO(VPU_IOC_MAGIC, 12)
+#define VPU_IOC_QUERY_BITWORK_MEM _IO(VPU_IOC_MAGIC, 13)
+#define VPU_IOC_SET_BITWORK_MEM _IO(VPU_IOC_MAGIC, 14)
#define BIT_CODE_RUN 0x000
#define BIT_CODE_DOWN 0x004