mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
b9991767cc
commit
b9feba6efc
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user