From 1fd0581c64b3decd8ee1f6014709ea04d01a8ec5 Mon Sep 17 00:00:00 2001 From: Arvind M Date: Mon, 14 Jun 2021 17:49:07 +0530 Subject: 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 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 Tested-by: mobile promotions Reviewed-by: Bharat Nihalani Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit --- include/uapi/linux/nvhost_nvdla_ioctl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/uapi/linux') 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 { __u16 num_tasks; #define MAX_TASKS_PER_SUBMIT 16 #define NVDLA_SUBMIT_FLAGS_ATOMIC (1 << 0) +#define NVDLA_SUBMIT_FLAGS_BYPASS_EXEC (1 << 1) __u16 flags; __u32 version; }; -- cgit v1.2.2