diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-02-21 18:36:49 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-07 16:42:28 -0500 |
commit | b9feba6efc48743da70e474d40b7889a7efb4ba5 (patch) | |
tree | 668fed9a239d27dfc80abe525c43f6f864c90142 /drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | |
parent | b9991767cca9e4166e83ab03a07bf79316cf749a (diff) |
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 <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1308997
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
653 | 653 | ||
654 | ret = gk20a_submit_channel_gpfifo(ce_ctx->ch, &gpfifo, NULL, | 654 | ret = gk20a_submit_channel_gpfifo(ce_ctx->ch, &gpfifo, NULL, |
655 | 1, submit_flags, &fence, | 655 | 1, submit_flags, &fence, |
656 | &ce_cmd_buf_fence_out, false); | 656 | &ce_cmd_buf_fence_out, false, NULL); |
657 | 657 | ||
658 | if (!ret) { | 658 | if (!ret) { |
659 | memcpy((void *)(cmd_buf_cpu_va + fence_index), | 659 | memcpy((void *)(cmd_buf_cpu_va + fence_index), |