summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-04-01 01:28:44 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:09:53 -0400
commit2fbf6e7afb316d698d0062828876eeed1a1b43b2 (patch)
treefacd78d1a24f074e5b4894169ae3ef30ef651d97 /drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h
parentaf8c1dc3a834850512f1fba863077048a3e14f21 (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
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h
index 80f38b26..90b61bfd 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h
@@ -77,6 +77,7 @@ struct gk20a_channel_sync {
77 int (*incr_user_syncpt)(struct gk20a_channel_sync *s, 77 int (*incr_user_syncpt)(struct gk20a_channel_sync *s,
78 struct priv_cmd_entry **entry, 78 struct priv_cmd_entry **entry,
79 struct gk20a_channel_fence *fence, 79 struct gk20a_channel_fence *fence,
80 bool wfi,
80 u32 *id, u32 *thresh); 81 u32 *id, u32 *thresh);
81 82
82 /* Increment syncpoint/semaphore, so that the returned fence represents 83 /* Increment syncpoint/semaphore, so that the returned fence represents
@@ -89,6 +90,7 @@ struct gk20a_channel_sync {
89 int (*incr_user_fd)(struct gk20a_channel_sync *s, 90 int (*incr_user_fd)(struct gk20a_channel_sync *s,
90 struct priv_cmd_entry **entry, 91 struct priv_cmd_entry **entry,
91 struct gk20a_channel_fence *fence, 92 struct gk20a_channel_fence *fence,
93 bool wfi,
92 int *fd); 94 int *fd);
93 95
94 /* Reset the channel syncpoint/semaphore. */ 96 /* Reset the channel syncpoint/semaphore. */