All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mario Limonciello (AMD)" <superm1@kernel.org>
To: amd-gfx@lists.freedesktop.org
Cc: "Mario Limonciello (AMD)" <superm1@kernel.org>
Subject: [PATCH v3 0/2] Make device links between KFD and GPU device
Date: Tue, 16 Dec 2025 00:00:44 -0600	[thread overview]
Message-ID: <20251216060046.3131-1-superm1@kernel.org> (raw)

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

This series creates a link from KFD to GPU to simplify it
for userspace.

Mario Limonciello (AMD) (2):
  amdkfd: Only ignore -ENOENT for KFD init failuires
  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       | 17 ++++++++++++++++-
 drivers/gpu/drm/amd/include/kgd_kfd_interface.h |  2 ++
 6 files changed, 35 insertions(+), 3 deletions(-)

-- 
2.43.0


             reply	other threads:[~2025-12-16  6:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-16  6:00 Mario Limonciello (AMD) [this message]
2025-12-16  6:00 ` [PATCH v3 1/2] amdkfd: Only ignore -ENOENT for KFD init failuires Mario Limonciello (AMD)
2025-12-16  6:00 ` [PATCH v3 2/2] amdkfd: Add device links between kfd device and amdgpu device Mario Limonciello (AMD)
2025-12-16  6:22   ` Lazar, Lijo
2025-12-16 12:19     ` Mario Limonciello
2025-12-16 12:40       ` Lazar, Lijo
2025-12-16 14:01         ` Mario Limonciello
2025-12-16 14:25           ` Kasiviswanathan, Harish
2025-12-16 14:41             ` Mario Limonciello

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251216060046.3131-1-superm1@kernel.org \
    --to=superm1@kernel.org \
    --cc=amd-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.