aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2018-07-16 19:10:37 -0400
committerOded Gabbay <[email protected]>2018-07-16 19:10:37 -0400
commitb5aa3f4aef724e9c0f626dcf69948b22efcc5176 (patch)
tree21d8c2583d94f26894202433adf46b98d25bf698 /tools/perf/util/trace-event-scripting.c
parent01c097dbfc03ac1357b9c8a1f52fd43d636bc7f7 (diff)
drm/amdkfd: Call kfd2kgd.set_compute_idle
User mode queue submissions don't go through KFD. Therefore we don't know exactly when compute is idle or not idle. We use the existence of user mode queues on a device as an approximation. register_process is called when the first queue of a process is created. Conversely unregister_process is called when the last queue is destroyed. The first process that is registered takes compute out of idle. The last process that is unregisters sets compute back to idle. Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Eric Huang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions