diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-04-01 08:28:44 +0300 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2015-01-14 14:17:13 -0800 |
commit | a6acd970218523768e21f7ebb86d5e75840f4cc5 (patch) | |
tree | 6d491d65eda9d3e5b45fb8e46ce773d5a2d96bc6 /include | |
parent | c03e0d2b98aceeafdc7290a4a1da85550592a29e (diff) |
gpu: nvgpu: Allow suppressing WFI on submit
Allow suppressing WFI when submitting work and requesting a fence
back.
Bug 1491545
Change-Id: Ic3d061bb4f116cf7ea68dbd6a1b2ace9f11d0ab5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/390457
Reviewed-on: http://git-master/r/671029
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sibashis Mohapatra <sibashism@nvidia.com>
Tested-by: Sibashis Mohapatra <sibashism@nvidia.com>
Reviewed-by: Yogesh Kini <ykini@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvhost_ioctl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nvhost_ioctl.h b/include/linux/nvhost_ioctl.h index 4b6e1a2fb132..b060864ff1d1 100644 --- a/include/linux/nvhost_ioctl.h +++ b/include/linux/nvhost_ioctl.h @@ -143,6 +143,8 @@ struct nvhost_fence { #define NVHOST_SUBMIT_GPFIFO_FLAGS_HW_FORMAT BIT(2) /* create a sync fence fd instead of raw fence */ #define NVHOST_SUBMIT_GPFIFO_FLAGS_SYNC_FENCE BIT(3) +/* suppress WFI before fence trigger */ +#define NVHOST_SUBMIT_GPFIFO_FLAGS_SUPPRESS_WFI BIT(4) struct nvhost_submit_gpfifo_args { __u64 gpfifo; |