All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] HMM profiler interface
@ 2022-01-14 20:38 Philip Yang
  2022-01-14 20:38 ` [PATCH 1/5] drm/amdkfd: correct SMI event read size Philip Yang
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Philip Yang @ 2022-01-14 20:38 UTC (permalink / raw)
  To: amd-gfx; +Cc: Philip Yang, felix.kuehling

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: 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
  drm/amdkfd: add user queue eviction restore SMI event

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h    |   7 +-
 .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  |  11 +-
 drivers/gpu/drm/amd/amdkfd/kfd_device.c       |   4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c      |  67 ++++++---
 drivers/gpu/drm/amd/amdkfd/kfd_migrate.h      |   5 +-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h         |   2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c      |  36 ++++-
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c   | 133 ++++++++++++++++--
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h   |  12 ++
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c          |  34 +++--
 include/uapi/linux/kfd_ioctl.h                |  27 ++++
 11 files changed, 282 insertions(+), 56 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-17 16:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 20:38 [PATCH 0/5] HMM profiler interface Philip Yang
2022-01-14 20:38 ` [PATCH 1/5] drm/amdkfd: correct SMI event read size Philip Yang
2022-01-14 20:38 ` [PATCH 2/5] drm/amdkfd: enable per process SMI event Philip Yang
2022-01-14 22:07   ` Felix Kuehling
2022-01-14 20:38 ` [PATCH 3/5] drm/amdkfd: add page fault " Philip Yang
2022-01-14 22:37   ` Felix Kuehling
2022-01-17 16:16     ` philip yang
2022-01-14 20:38 ` [PATCH 4/5] drm/amdkfd: add migration " Philip Yang
2022-01-14 20:38 ` [PATCH 5/5] drm/amdkfd: add user queue eviction restore " Philip Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.