summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-01-05 09:11:14 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-26 13:50:33 -0500
commit91114cd6d4ca652cb726baf2329fa807442c68a8 (patch)
tree5fc2076ee7def83f6b984f6c4f5c2d0c0a892763 /drivers/gpu/nvgpu/common/linux
parent66c5507dafaffcd59459bc9687d0439bab91ae13 (diff)
gpu: nvgpu: ce: drop prefence support
Delete the gk20a_fence_in argument in gk20a_ce_execute_ops. It has never been used and is in the way of some upcoming code cleanup. NVGPU-43 Change-Id: Ie61e1a2f4945b1e34d64880044c265d26fa822d7 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1646036 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ce2.c13
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);