diff options
| author | Arvind M <am@nvidia.com> | 2021-06-14 08:19:07 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2021-08-16 23:32:02 -0400 |
| commit | 1fd0581c64b3decd8ee1f6014709ea04d01a8ec5 (patch) | |
| tree | 01c71affbecc0cd50f888bc3b1005d93123c0707 /include | |
| parent | d0cbf337d60aef7a6d96fc8c965e22c987f094a1 (diff) | |
nvdla: kmd: add bypass exec support with submit
[1] NVDLA_SUBMIT_FLAGS_BYPASS_EXEC flag allows its clients
(UMD or nvdla_kmd_sanity) to bypass execution for a
submission. This flag is a property of submission and
shall directly apply on all tasks within that submit.
[2] With above flag set, it propagates information to firmware
through task descriptor and firmware shall be responsible
for bypassing the execution.
Jira DLA-4443
JIRA DLA-4908
Bug 3352716
Change-Id: I70000ef486905c812fec65f265a378a99844c10a
Signed-off-by: Arvind M <am@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2544802
(cherry picked from commit 72da3fde9aa1624722359573d37ec6e73017ca98)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2572191
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/linux/nvhost_nvdla_ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/nvhost_nvdla_ioctl.h b/include/uapi/linux/nvhost_nvdla_ioctl.h index bd427e789..447be9cc0 100644 --- a/include/uapi/linux/nvhost_nvdla_ioctl.h +++ b/include/uapi/linux/nvhost_nvdla_ioctl.h | |||
| @@ -96,6 +96,7 @@ struct nvdla_submit_args { | |||
| 96 | __u16 num_tasks; | 96 | __u16 num_tasks; |
| 97 | #define MAX_TASKS_PER_SUBMIT 16 | 97 | #define MAX_TASKS_PER_SUBMIT 16 |
| 98 | #define NVDLA_SUBMIT_FLAGS_ATOMIC (1 << 0) | 98 | #define NVDLA_SUBMIT_FLAGS_ATOMIC (1 << 0) |
| 99 | #define NVDLA_SUBMIT_FLAGS_BYPASS_EXEC (1 << 1) | ||
| 99 | __u16 flags; | 100 | __u16 flags; |
| 100 | __u32 version; | 101 | __u32 version; |
| 101 | }; | 102 | }; |
