diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/nvhost_nvdla_ioctl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/linux/nvhost_nvdla_ioctl.h b/include/uapi/linux/nvhost_nvdla_ioctl.h index b203fda63..bd427e789 100644 --- a/include/uapi/linux/nvhost_nvdla_ioctl.h +++ b/include/uapi/linux/nvhost_nvdla_ioctl.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Tegra NvDLA Driver | 4 | * Tegra NvDLA Driver |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2016-2020, NVIDIA CORPORATION. All rights reserved. | 6 | * Copyright (c) 2016-2021, NVIDIA CORPORATION. All rights reserved. |
| 7 | * | 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify it | 8 | * This program is free software; you can redistribute it and/or modify it |
| 9 | * under the terms and conditions of the GNU General Public License, | 9 | * under the terms and conditions of the GNU General Public License, |
| @@ -127,11 +127,18 @@ struct nvdla_get_q_status_args { | |||
| 127 | * | 127 | * |
| 128 | * @handle handle to buffer allocated in userspace | 128 | * @handle handle to buffer allocated in userspace |
| 129 | * @offset offset in buffer | 129 | * @offset offset in buffer |
| 130 | * @type buffer heap type | ||
| 131 | * @reserved reserved for future use | ||
| 130 | * | 132 | * |
| 131 | */ | 133 | */ |
| 132 | struct nvdla_mem_handle { | 134 | struct nvdla_mem_handle { |
| 133 | __u32 handle; | 135 | __u32 handle; |
| 134 | __u32 offset; | 136 | __u32 offset; |
| 137 | #define NVDLA_BUFFER_TYPE_MC 0U | ||
| 138 | #define NVDLA_BUFFER_TYPE_CV 1U | ||
| 139 | #define NVDLA_BUFFER_TYPE_INTERNAL 2U | ||
| 140 | __u8 type; | ||
| 141 | __u8 reserved[3]; | ||
| 135 | }; | 142 | }; |
| 136 | 143 | ||
| 137 | /** | 144 | /** |
