]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blobdiff - drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h
gpu: nvgpu: Allow suppressing WFI on submit
[sojka/nv-tegra/linux-3.10.git] / drivers / gpu / nvgpu / gk20a / channel_sync_gk20a.h
index 80f38b2660892d26bd3d881d42cfb720c9ff4797..90b61bfd7131965384075d4a93ba01b334eaf2f3 100644 (file)
@@ -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. */