diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ce2.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ce2.c b/drivers/gpu/nvgpu/common/linux/ce2.c index f172cede..97dc6678 100644 --- a/drivers/gpu/nvgpu/common/linux/ce2.c +++ b/drivers/gpu/nvgpu/common/linux/ce2.c | |||
@@ -43,7 +43,6 @@ int gk20a_ce_execute_ops(struct gk20a *g, | |||
43 | unsigned int payload, | 43 | unsigned int payload, |
44 | int launch_flags, | 44 | int launch_flags, |
45 | int request_operation, | 45 | int request_operation, |
46 | struct gk20a_fence *gk20a_fence_in, | ||
47 | u32 submit_flags, | 46 | u32 submit_flags, |
48 | struct gk20a_fence **gk20a_fence_out) | 47 | struct gk20a_fence **gk20a_fence_out) |
49 | { | 48 | { |
@@ -135,19 +134,9 @@ int gk20a_ce_execute_ops(struct gk20a *g, | |||
135 | payload, | 134 | payload, |
136 | gk20a_get_valid_launch_flags(g, launch_flags), | 135 | gk20a_get_valid_launch_flags(g, launch_flags), |
137 | request_operation, | 136 | request_operation, |
138 | dma_copy_class, | 137 | dma_copy_class); |
139 | gk20a_fence_in); | ||
140 | 138 | ||
141 | if (methodSize) { | 139 | if (methodSize) { |
142 | /* TODO: Remove CPU pre-fence wait */ | ||
143 | if (gk20a_fence_in) { | ||
144 | ret = gk20a_fence_wait(g, gk20a_fence_in, | ||
145 | gk20a_get_gr_idle_timeout(g)); | ||
146 | gk20a_fence_put(gk20a_fence_in); | ||
147 | if (ret) | ||
148 | goto noop; | ||
149 | } | ||
150 | |||
151 | /* store the element into gpfifo */ | 140 | /* store the element into gpfifo */ |
152 | gpfifo.entry0 = | 141 | gpfifo.entry0 = |
153 | u64_lo32(cmd_buf_gpu_va); | 142 | u64_lo32(cmd_buf_gpu_va); |