From 91114cd6d4ca652cb726baf2329fa807442c68a8 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Fri, 5 Jan 2018 16:11:14 +0200 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1646036 Reviewed-by: svc-mobile-coverity Reviewed-by: Alex Waterman GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/ce2.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'drivers/gpu/nvgpu/common/linux') 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, unsigned int payload, int launch_flags, int request_operation, - struct gk20a_fence *gk20a_fence_in, u32 submit_flags, struct gk20a_fence **gk20a_fence_out) { @@ -135,19 +134,9 @@ int gk20a_ce_execute_ops(struct gk20a *g, payload, gk20a_get_valid_launch_flags(g, launch_flags), request_operation, - dma_copy_class, - gk20a_fence_in); + dma_copy_class); if (methodSize) { - /* TODO: Remove CPU pre-fence wait */ - if (gk20a_fence_in) { - ret = gk20a_fence_wait(g, gk20a_fence_in, - gk20a_get_gr_idle_timeout(g)); - gk20a_fence_put(gk20a_fence_in); - if (ret) - goto noop; - } - /* store the element into gpfifo */ gpfifo.entry0 = u64_lo32(cmd_buf_gpu_va); -- cgit v1.2.2