[PATCH v3 0/4] Improve SVM migrate event report
Philip Yang
Philip.Yang at amd.com
Tue Aug 27 17:10:21 UTC 2024
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
More information about the amd-gfx
mailing list