[PATCH 0/5] HMM profiler interface

Philip Yang Philip.Yang at amd.com
Fri Jan 14 20:32:51 UTC 2022

The ROCm profiler would expose the data from KFD profiling APIs to 
application developers to tune the applications based on how the address
range attributes affect the behavior and performance.

Per process event log use the existing SMI (system management interface) 
event API. Each event log is one line of text, starting with event id, 
and then name=value pairs for the event specific information.

Philip Yang (5):
  drm/amdkfd: svm range restore work deadlock when process exit
  drm/amdkfd: correct SMI event read size
  drm/amdkfd: enable per process SMI event
  drm/amdkfd: add page fault SMI event
  drm/amdkfd: add migration SMI event

 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c    | 67 +++++++++-----
 drivers/gpu/drm/amd/amdkfd/kfd_migrate.h    |  5 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c    |  1 -
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 98 +++++++++++++++++++--
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h |  8 ++
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c        | 42 +++++----
 include/uapi/linux/kfd_ioctl.h              | 27 ++++++
 7 files changed, 198 insertions(+), 50 deletions(-)


More information about the amd-gfx mailing list