From a4ccef286a37ddfcc16b9bb5a11b7fd6bbe3cd10 Mon Sep 17 00:00:00 2001 From: Shridhar Rasal Date: Tue, 20 Dec 2016 17:09:24 +0530 Subject: video: tegra: host: dla: add semaphore support for prefences - this adds semaphore/memsignal support in prefences - while updating task descriptor, does pinning of UMD semaphore handle and received dma_addr added as preaction Jira DLA-161 Change-Id: If3695b0cca29d485c04b93a83848d50ad81dd9fd Signed-off-by: Shridhar Rasal Reviewed-on: http://git-master/r/1274302 Reviewed-by: Prashant Gaikwad GVS: Gerrit_Virtual_Submit --- include/linux/nvhost_nvdla_ioctl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/linux') diff --git a/include/linux/nvhost_nvdla_ioctl.h b/include/linux/nvhost_nvdla_ioctl.h index 5e9d82bd1..e5eef1554 100644 --- a/include/linux/nvhost_nvdla_ioctl.h +++ b/include/linux/nvhost_nvdla_ioctl.h @@ -132,9 +132,13 @@ struct nvdla_fence { __u32 type; #define NVDLA_FENCE_TYPE_SYNCPT 0 #define NVDLA_FENCE_TYPE_SYNC_FD 1 +#define NVDLA_FENCE_TYPE_SEMAPHORE 2 __u32 syncpoint_index; __u32 syncpoint_value; __u32 sync_fd; + __u32 sem_handle; + __u32 sem_offset; + __u32 sem_val; }; #define NVHOST_NVDLA_IOCTL_MAGIC 'D' -- cgit v1.2.2