diff options
| author | Shridhar Rasal <srasal@nvidia.com> | 2016-12-01 06:22:59 -0500 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-02 08:39:05 -0500 |
| commit | 842fb9099d984d12eae833e22cbd4bdcd3fecbf6 (patch) | |
| tree | fa22799af36c8510a986c44af049058a7fdad571 /include/linux | |
| parent | e12a742d61e628ff47e7f2812ac4daeb74cec9c3 (diff) | |
video: tegra: host: dla: correct IOCTL parameters names
- this is cosmetic change to remove _ctrl_ from interface fields and
params
Change-Id: Ibb2aad75755fea158015f9f756c5b844a8984ded
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/1263102
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvhost_nvdla_ioctl.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/include/linux/nvhost_nvdla_ioctl.h b/include/linux/nvhost_nvdla_ioctl.h index aba5ff554..41a4918fe 100644 --- a/include/linux/nvhost_nvdla_ioctl.h +++ b/include/linux/nvhost_nvdla_ioctl.h | |||
| @@ -29,34 +29,34 @@ | |||
| 29 | #endif | 29 | #endif |
| 30 | 30 | ||
| 31 | /** | 31 | /** |
| 32 | * struct nvdla_ctrl_ping_args structure for ping data | 32 | * struct nvdla_ping_args structure for ping data |
| 33 | * | 33 | * |
| 34 | * @in_challenge challenge data to be sent | 34 | * @in_challenge challenge data to be sent |
| 35 | * @out_response response/CRC on challenge data from engine | 35 | * @out_response response/CRC on challenge data from engine |
| 36 | * | 36 | * |
| 37 | */ | 37 | */ |
| 38 | struct nvdla_ctrl_ping_args { | 38 | struct nvdla_ping_args { |
| 39 | __u32 in_challenge; | 39 | __u32 in_challenge; |
| 40 | __u32 out_response; | 40 | __u32 out_response; |
| 41 | }; | 41 | }; |
| 42 | 42 | ||
| 43 | 43 | ||
| 44 | /** | 44 | /** |
| 45 | * struct nvdla_ctrl_pin_unpin_args strcture args for buffer pin/unpin | 45 | * struct nvdla_pin_unpin_args strcture args for buffer pin/unpin |
| 46 | * | 46 | * |
| 47 | * @buffers list of buffers to pin/unpin'ed | 47 | * @buffers list of buffers to pin/unpin'ed |
| 48 | * @num_buffers number of buffers count | 48 | * @num_buffers number of buffers count |
| 49 | * @reserved reserved for future use | 49 | * @reserved reserved for future use |
| 50 | * | 50 | * |
| 51 | */ | 51 | */ |
| 52 | struct nvdla_ctrl_pin_unpin_args { | 52 | struct nvdla_pin_unpin_args { |
| 53 | __u64 buffers; | 53 | __u64 buffers; |
| 54 | __u32 num_buffers; | 54 | __u32 num_buffers; |
| 55 | __u32 reserved; | 55 | __u32 reserved; |
| 56 | }; | 56 | }; |
| 57 | 57 | ||
| 58 | /** | 58 | /** |
| 59 | * struct nvdla_ctrl_submit_args structure for task submit | 59 | * struct nvdla_submit_args structure for task submit |
| 60 | * | 60 | * |
| 61 | * @tasks pointer to task list | 61 | * @tasks pointer to task list |
| 62 | * @num_tasks number of tasks count | 62 | * @num_tasks number of tasks count |
| @@ -64,7 +64,7 @@ struct nvdla_ctrl_pin_unpin_args { | |||
| 64 | * @version version of task structure | 64 | * @version version of task structure |
| 65 | * | 65 | * |
| 66 | */ | 66 | */ |
| 67 | struct nvdla_ctrl_submit_args { | 67 | struct nvdla_submit_args { |
| 68 | __u64 tasks; | 68 | __u64 tasks; |
| 69 | __u16 num_tasks; | 69 | __u16 num_tasks; |
| 70 | #define MAX_TASKS_PER_SUBMIT 32 | 70 | #define MAX_TASKS_PER_SUBMIT 32 |
| @@ -74,19 +74,19 @@ struct nvdla_ctrl_submit_args { | |||
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| 76 | /** | 76 | /** |
| 77 | * struct nvdla_ctrl_mem_handle structure for memory handles | 77 | * struct nvdla_mem_handle structure for memory handles |
| 78 | * | 78 | * |
| 79 | * @handle handle to buffer allocated in userspace | 79 | * @handle handle to buffer allocated in userspace |
| 80 | * @offset offset in buffer | 80 | * @offset offset in buffer |
| 81 | * | 81 | * |
| 82 | */ | 82 | */ |
| 83 | struct nvdla_ctrl_mem_handle { | 83 | struct nvdla_mem_handle { |
| 84 | __u32 handle; | 84 | __u32 handle; |
| 85 | __u32 offset; | 85 | __u32 offset; |
| 86 | }; | 86 | }; |
| 87 | 87 | ||
| 88 | /** | 88 | /** |
| 89 | * struct nvdla_ctrl_ioctl_submit_task structure for single task information | 89 | * struct nvdla_ioctl_submit_task structure for single task information |
| 90 | * | 90 | * |
| 91 | * @num_prefences number of pre-fences in task | 91 | * @num_prefences number of pre-fences in task |
| 92 | * @num_postfences number of post-fences in task | 92 | * @num_postfences number of post-fences in task |
| @@ -105,7 +105,7 @@ struct nvdla_ctrl_mem_handle { | |||
| 105 | * @address_list pointer to address list | 105 | * @address_list pointer to address list |
| 106 | * | 106 | * |
| 107 | */ | 107 | */ |
| 108 | struct nvdla_ctrl_ioctl_submit_task { | 108 | struct nvdla_ioctl_submit_task { |
| 109 | __u8 num_prefences; | 109 | __u8 num_prefences; |
| 110 | __u8 num_postfences; | 110 | __u8 num_postfences; |
| 111 | __u8 num_input_task_status; | 111 | __u8 num_input_task_status; |
| @@ -121,16 +121,16 @@ struct nvdla_ctrl_ioctl_submit_task { | |||
| 121 | 121 | ||
| 122 | __u32 num_operations; | 122 | __u32 num_operations; |
| 123 | __u32 num_luts; | 123 | __u32 num_luts; |
| 124 | struct nvdla_ctrl_mem_handle operation_desc; | 124 | struct nvdla_mem_handle operation_desc; |
| 125 | struct nvdla_ctrl_mem_handle surface_desc; | 125 | struct nvdla_mem_handle surface_desc; |
| 126 | struct nvdla_ctrl_mem_handle lut_data; | 126 | struct nvdla_mem_handle lut_data; |
| 127 | 127 | ||
| 128 | __u8 dynamic_roi; | 128 | __u8 dynamic_roi; |
| 129 | struct nvdla_ctrl_mem_handle roi_desc_array; | 129 | struct nvdla_mem_handle roi_desc_array; |
| 130 | struct nvdla_ctrl_mem_handle surface; | 130 | struct nvdla_mem_handle surface; |
| 131 | 131 | ||
| 132 | __u32 num_addresses; | 132 | __u32 num_addresses; |
| 133 | struct nvdla_ctrl_mem_handle address_list; | 133 | struct nvdla_mem_handle address_list; |
| 134 | }; | 134 | }; |
| 135 | 135 | ||
| 136 | /** | 136 | /** |
| @@ -152,18 +152,18 @@ struct nvdla_fence { | |||
| 152 | 152 | ||
| 153 | #define NVHOST_NVDLA_IOCTL_MAGIC 'D' | 153 | #define NVHOST_NVDLA_IOCTL_MAGIC 'D' |
| 154 | 154 | ||
| 155 | #define NVDLA_IOCTL_CTRL_PING \ | 155 | #define NVDLA_IOCTL_PING \ |
| 156 | _IOWR(NVHOST_NVDLA_IOCTL_MAGIC, 1, struct nvdla_ctrl_ping_args) | 156 | _IOWR(NVHOST_NVDLA_IOCTL_MAGIC, 1, struct nvdla_ping_args) |
| 157 | #define NVDLA_IOCTL_CTRL_PIN \ | 157 | #define NVDLA_IOCTL_PIN \ |
| 158 | _IOW(NVHOST_NVDLA_IOCTL_MAGIC, 2, struct nvdla_ctrl_pin_unpin_args) | 158 | _IOW(NVHOST_NVDLA_IOCTL_MAGIC, 2, struct nvdla_pin_unpin_args) |
| 159 | #define NVDLA_IOCTL_CTRL_UNPIN \ | 159 | #define NVDLA_IOCTL_UNPIN \ |
| 160 | _IOW(NVHOST_NVDLA_IOCTL_MAGIC, 3, struct nvdla_ctrl_pin_unpin_args) | 160 | _IOW(NVHOST_NVDLA_IOCTL_MAGIC, 3, struct nvdla_pin_unpin_args) |
| 161 | #define NVDLA_IOCTL_CTRL_SUBMIT \ | 161 | #define NVDLA_IOCTL_SUBMIT \ |
| 162 | _IOW(NVHOST_NVDLA_IOCTL_MAGIC, 4, struct nvdla_ctrl_submit_args) | 162 | _IOW(NVHOST_NVDLA_IOCTL_MAGIC, 4, struct nvdla_submit_args) |
| 163 | #define NVDLA_IOCTL_CTRL_LAST \ | 163 | #define NVDLA_IOCTL_LAST \ |
| 164 | _IOC_NR(NVDLA_IOCTL_CTRL_SUBMIT) | 164 | _IOC_NR(NVDLA_IOCTL_SUBMIT) |
| 165 | 165 | ||
| 166 | #define NVDLA_IOCTL_CTRL_MAX_ARG_SIZE \ | 166 | #define NVDLA_IOCTL_MAX_ARG_SIZE \ |
| 167 | sizeof(struct nvdla_ctrl_pin_unpin_args) | 167 | sizeof(struct nvdla_pin_unpin_args) |
| 168 | 168 | ||
| 169 | #endif /* __LINUX_NVHOST_NVDLA_IOCTL_H */ | 169 | #endif /* __LINUX_NVHOST_NVDLA_IOCTL_H */ |
