AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Improve SVM migrate event report
@ 2024-08-27 17:10 Philip Yang
  2024-08-27 17:10 ` [PATCH v3 1/4] drm/amdkfd: Document and define SVM events message macro Philip Yang
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Philip Yang @ 2024-08-27 17:10 UTC (permalink / raw)
  To: amd-gfx; +Cc: Felix.Kuehling, jamesz, Philip Yang

1. Document how to use SMI system management interface to receive SVM
events, define string format macro for user mode.
2. Increase the event kfifo size, so less chance to drop event.
3. Output migrate end event with error code if migration failed.
4. Report dropped event count if fifo is full.

v3:
  Simplify event drop count handling (James Zhu) 

Philip Yang (4):
  drm/amdkfd: Document and define SVM events message macro
  drm/amdkfd: Output migrate end event if migrate failed
  drm/amdkfd: Increase SMI event fifo size
  drm/amdkfd: SMI report dropped event count

 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c    |  14 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c |  79 +++++++++------
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h |   3 +-
 include/uapi/linux/kfd_ioctl.h              | 107 +++++++++++++++++---
 4 files changed, 150 insertions(+), 53 deletions(-)

-- 
2.43.2


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

end of thread, other threads:[~2024-08-27 20:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27 17:10 [PATCH v3 0/4] Improve SVM migrate event report Philip Yang
2024-08-27 17:10 ` [PATCH v3 1/4] drm/amdkfd: Document and define SVM events message macro Philip Yang
2024-08-27 17:10 ` [PATCH v3 2/4] drm/amdkfd: Output migrate end event if migrate failed Philip Yang
2024-08-27 17:10 ` [PATCH v3 3/4] drm/amdkfd: Increase SMI event fifo size Philip Yang
2024-08-27 17:10 ` [PATCH v3 4/4] drm/amdkfd: SMI report dropped event count Philip Yang
2024-08-27 17:10 ` [PATCH] " Philip Yang
2024-08-27 20:55 ` [PATCH v3 0/4] Improve SVM migrate event report James Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox