diff options
| author | Gagan Grover <ggrover@nvidia.com> | 2015-11-30 01:20:43 -0500 |
|---|---|---|
| committer | Arto Merilainen <amerilainen@nvidia.com> | 2015-12-30 05:39:45 -0500 |
| commit | 61423c94b2e482ef92345ee9bee337b80454c759 (patch) | |
| tree | 6647177b47fee4c91c4580a70a64d06af33a4fba /include/linux | |
| parent | 752c24c26da1f1b84286532d427ad92f245621f9 (diff) | |
video: tegra: host: Interface for SetSyncPointName
Added kernel interface for NvRmChannelSetSyncPointName.
Bug 1695116
Change-Id: I3aa5fc8905c88de2706a6cd32ffbdae358aabe40
Signed-off-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-on: http://git-master/r/921909
(cherry-picked from commit 2d5188490f55b19c25ee8b23716d6a721ee04b56)
Reviewed-on: http://git-master/r/927638
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Tested-by: Arto Merilainen <amerilainen@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvhost_ioctl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/nvhost_ioctl.h b/include/linux/nvhost_ioctl.h index 6ff7561c8..ea04a257e 100644 --- a/include/linux/nvhost_ioctl.h +++ b/include/linux/nvhost_ioctl.h | |||
| @@ -103,6 +103,12 @@ struct nvhost_channel_open_args { | |||
| 103 | __s32 channel_fd; | 103 | __s32 channel_fd; |
| 104 | }; | 104 | }; |
| 105 | 105 | ||
| 106 | struct nvhost_set_syncpt_name_args { | ||
| 107 | __u64 name; | ||
| 108 | __u32 syncpt_id; | ||
| 109 | __u32 padding; | ||
| 110 | }; | ||
| 111 | |||
| 106 | struct nvhost_set_nvmap_fd_args { | 112 | struct nvhost_set_nvmap_fd_args { |
| 107 | __u32 fd; | 113 | __u32 fd; |
| 108 | } __packed; | 114 | } __packed; |
| @@ -303,6 +309,9 @@ struct nvhost_channel_map_buffer_args { | |||
| 303 | #define NVHOST_IOCTL_CHANNEL_UNMAP_BUFFER \ | 309 | #define NVHOST_IOCTL_CHANNEL_UNMAP_BUFFER \ |
| 304 | _IOWR(NVHOST_IOCTL_MAGIC, 29, struct nvhost_channel_unmap_buffer_args) | 310 | _IOWR(NVHOST_IOCTL_MAGIC, 29, struct nvhost_channel_unmap_buffer_args) |
| 305 | 311 | ||
| 312 | #define NVHOST_IOCTL_CHANNEL_SET_SYNCPOINT_NAME \ | ||
| 313 | _IOW(NVHOST_IOCTL_MAGIC, 30, struct nvhost_set_syncpt_name_args) | ||
| 314 | |||
| 306 | #define NVHOST_IOCTL_CHANNEL_SET_ERROR_NOTIFIER \ | 315 | #define NVHOST_IOCTL_CHANNEL_SET_ERROR_NOTIFIER \ |
| 307 | _IOWR(NVHOST_IOCTL_MAGIC, 111, struct nvhost_set_error_notifier) | 316 | _IOWR(NVHOST_IOCTL_MAGIC, 111, struct nvhost_set_error_notifier) |
| 308 | #define NVHOST_IOCTL_CHANNEL_OPEN \ | 317 | #define NVHOST_IOCTL_CHANNEL_OPEN \ |
