AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add PASID to fpriv lookup infrastructure
@ 2026-07-03  6:18 Srinivasan Shanmugam
  2026-07-03  6:18 ` [PATCH v4 1/3] drm/amdgpu: Allow PASID allocator to store fpriv owner Srinivasan Shanmugam
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Srinivasan Shanmugam @ 2026-07-03  6:18 UTC (permalink / raw)
  To: Christian König, Alex Deucher; +Cc: amd-gfx, Srinivasan Shanmugam

v4: (per Christian)
- Extend amdgpu_pasid_alloc() to optionally store the DRM file-private
  owner directly.
- Allocate DRM PASIDs after fpriv initialization instead of registering
  the owner later.
- Drop the separate amdgpu_pasid_set_fpriv()/clear_fpriv() helpers.
- Squash PASID owner registration and VM lookup conversion into a
  single patch.
- Clear PASID ownership from the delayed PASID free path instead of
  using a separate unregister helper.

Only compilation tested.

Srinivasan Shanmugam (3):
  drm/amdgpu: Allow PASID allocator to store fpriv owner
  drm/amdgpu: Resolve VM through DRM PASID ownership
  drm/amdgpu: Drop vm_manager PASID to VM mapping

 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 82 +++++++++++++++++++++++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h |  6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 16 ++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c  | 65 +++++++++-----------
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h  |  4 --
 drivers/gpu/drm/amd/amdgpu/mes_v12_1.c  |  2 +-
 6 files changed, 120 insertions(+), 55 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-07-07 13:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-03  6:18 [PATCH v4 0/3] Add PASID to fpriv lookup infrastructure Srinivasan Shanmugam
2026-07-03  6:18 ` [PATCH v4 1/3] drm/amdgpu: Allow PASID allocator to store fpriv owner Srinivasan Shanmugam
2026-07-03  7:38   ` Christian König
2026-07-03 15:00     ` SHANMUGAM, SRINIVASAN
2026-07-03  6:18 ` [PATCH v4 2/3] drm/amdgpu: Resolve VM through DRM PASID ownership Srinivasan Shanmugam
2026-07-03  7:42   ` Christian König
2026-07-03  6:18 ` [PATCH v4 3/3] drm/amdgpu: Drop vm_manager PASID to VM mapping Srinivasan Shanmugam
2026-07-03  7:44   ` Christian König
2026-07-03 10:36     ` SHANMUGAM, SRINIVASAN
2026-07-07 13:04       ` Christian König

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