AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Make device links between KFD and GPU device
@ 2025-12-10 20:15 Mario Limonciello (AMD)
  2025-12-10 20:15 ` [PATCH v2 1/3] amdkfd: Only ignore -ENOENT for KFD init failuires Mario Limonciello (AMD)
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mario Limonciello (AMD) @ 2025-12-10 20:15 UTC (permalink / raw)
  To: amd-gfx; +Cc: Mario Limonciello (AMD)

Discovering which KFD device is associated with a GPU is relatively
awkward right now in userspace.

This series creates sysfs links between the devices to simplify it
for userspace.

v2:
 * Add tag
 * Fix case that systems > 1 GPU wouldn't show links due to rebuilding
   topology.

Mario Limonciello (AMD) (3):
  amdkfd: Only ignore -ENOENT for KFD init failuires
  amdkfd: Don't rebuild node tree when calling
    kfd_topology_update_sysfs()
  amdkfd: Add device links between kfd device and amdgpu device

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c    |  8 ++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h    |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |  4 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |  6 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c     | 42 +++++++++++++++++--
 .../gpu/drm/amd/include/kgd_kfd_interface.h   |  2 +
 6 files changed, 57 insertions(+), 6 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-12-16 12:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-10 20:15 [PATCH v2 0/3] Make device links between KFD and GPU device Mario Limonciello (AMD)
2025-12-10 20:15 ` [PATCH v2 1/3] amdkfd: Only ignore -ENOENT for KFD init failuires Mario Limonciello (AMD)
2025-12-10 20:15 ` [PATCH v2 2/3] amdkfd: Don't rebuild node tree when calling kfd_topology_update_sysfs() Mario Limonciello (AMD)
2025-12-10 20:40   ` Russell, Kent
2025-12-16  2:42   ` Kasiviswanathan, Harish
2025-12-10 20:15 ` [PATCH v2 3/3] amdkfd: Add device links between kfd device and amdgpu device Mario Limonciello (AMD)
2025-12-10 20:40   ` Russell, Kent
2025-12-16  2:45   ` Kasiviswanathan, Harish
2025-12-16 12:20     ` Mario Limonciello

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