diff options
author | Gajanan Bhat <gbhat@nvidia.com> | 2011-08-29 14:25:10 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-09-01 19:48:48 -0700 |
commit | 3c296e6a706a2c00e262a985e0279277cb91acd5 (patch) | |
tree | 5b2babbeaac5ec6e3daf43cfaca0b308e4ae34c3 /include | |
parent | df90cc25a7ba438b3785aed1b6af4a67ccec7101 (diff) |
media: video: nvavp: Add AVP syncpoint ID query
Add support to query syncpoint ID assigned
to the AVP by nvhost driver.
Change-Id: Id963e6c32f97e095da253de4b7d83ee8fa8d62a8
Reviewed-on: http://git-master/r/49702
Tested-by: Gajanan Bhat <gbhat@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Isaac Richards <irichards@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_nvavp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tegra_nvavp.h b/include/linux/tegra_nvavp.h index c468014a8b9f..e207f145f4ca 100644 --- a/include/linux/tegra_nvavp.h +++ b/include/linux/tegra_nvavp.h @@ -54,9 +54,12 @@ struct nvavp_set_nvmap_fd_args { #define NVAVP_IOCTL_SET_NVMAP_FD _IOW(NVAVP_IOCTL_MAGIC, 0x60, \ struct nvavp_set_nvmap_fd_args) +#define NVAVP_IOCTL_GET_SYNCPOINT_ID _IOR(NVAVP_IOCTL_MAGIC, 0x61, \ + __u32) #define NVAVP_IOCTL_PUSH_BUFFER_SUBMIT _IOWR(NVAVP_IOCTL_MAGIC, 0x63, \ struct nvavp_pushbuffer_submit_hdr) + #define NVAVP_IOCTL_MIN_NR _IOC_NR(NVAVP_IOCTL_SET_NVMAP_FD) #define NVAVP_IOCTL_MAX_NR _IOC_NR(NVAVP_IOCTL_PUSH_BUFFER_SUBMIT) |