From b9feba6efc48743da70e474d40b7889a7efb4ba5 Mon Sep 17 00:00:00 2001 From: David Nieto Date: Tue, 21 Feb 2017 15:36:49 -0800 Subject: gpu: nvgpu: in-kernel kickoff profiling Add a debugfs interface to profile the kickoff ioctl it provides the probability distribution and separates the information between time spent in: the full ioctl, the kickoff function, the amount of time spent in job tracking and the amount of time doing pushbuffer copies JIRA: EVLR-1003 Change-Id: I9888b114c3fbced61b1cf134c79f7a8afce15f56 Signed-off-by: David Nieto Reviewed-on: http://git-master/r/1308997 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c index fd248313..db1ac539 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c @@ -653,7 +653,7 @@ int gk20a_ce_execute_ops(struct device *dev, ret = gk20a_submit_channel_gpfifo(ce_ctx->ch, &gpfifo, NULL, 1, submit_flags, &fence, - &ce_cmd_buf_fence_out, false); + &ce_cmd_buf_fence_out, false, NULL); if (!ret) { memcpy((void *)(cmd_buf_cpu_va + fence_index), -- cgit v1.2.2