v5: - Store NULL instead of xa_mk_value(0) for ownerless PASIDs. - Simplify PASID owner clearing by unconditionally storing NULL. - Delay DRM PASID allocation until after VM initialization so PASIDs are not published before the VM is fully initialized. - Update documentation and commit messages to reflect the NULL owner semantics.
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 | 69 +++++++++++++++++++++++-- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h | 6 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 21 ++++---- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 65 ++++++++++------------- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 4 -- 5 files changed, 109 insertions(+), 56 deletions(-) -- 2.34.1
