From 2fbf6e7afb316d698d0062828876eeed1a1b43b2 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 1 Apr 2014 08:28:44 +0300 Subject: 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 Reviewed-on: http://git-master/r/390457 --- drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h') 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 { int (*incr_user_syncpt)(struct gk20a_channel_sync *s, struct priv_cmd_entry **entry, struct gk20a_channel_fence *fence, + bool wfi, u32 *id, u32 *thresh); /* Increment syncpoint/semaphore, so that the returned fence represents @@ -89,6 +90,7 @@ struct gk20a_channel_sync { int (*incr_user_fd)(struct gk20a_channel_sync *s, struct priv_cmd_entry **entry, struct gk20a_channel_fence *fence, + bool wfi, int *fd); /* Reset the channel syncpoint/semaphore. */ -- cgit v1.2.2