From 760f8dd7fbbfaee7607d10c38fe013f9cb069cd7 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Tue, 31 Oct 2017 13:07:08 +0200 Subject: gpu: nvgpu: drop user callback support in CE Simplify the copyengine code by deleting support for the ce_event_callback feature that has never been used. Similarly, create a channel without the finish callback to get rid of that Linux dependency, and delete the finish callback function as it now serves no purpose. Delete also the submitted_seq_number and completed_seq_number fields that are only written to. Jira NVGPU-259 Change-Id: I02d15bdcb546f4dd8895a6bfb5130caf88a104e2 Signed-off-by: Konsta Holtta Reviewed-on: https://git-master.nvidia.com/r/1589320 Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade Reviewed-by: Alex Waterman Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/ce2.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpu/nvgpu/common/linux/ce2.c') diff --git a/drivers/gpu/nvgpu/common/linux/ce2.c b/drivers/gpu/nvgpu/common/linux/ce2.c index 3fee23e5..5127a32b 100644 --- a/drivers/gpu/nvgpu/common/linux/ce2.c +++ b/drivers/gpu/nvgpu/common/linux/ce2.c @@ -173,7 +173,6 @@ int gk20a_ce_execute_ops(struct gk20a *g, /* Next available command buffer queue Index */ ++ce_ctx->cmd_buf_read_queue_offset; - ++ce_ctx->submitted_seq_number; } } else { ret = -ENOMEM; -- cgit v1.2.2