[PATCH 5/8] drm/amdkfd: Use PASID manager from KGD

Felix Kuehling felix.kuehling at amd.com
Tue Sep 5 15:39:52 UTC 2017


On 2017-09-03 07:54 AM, Oded Gabbay wrote:
> Don't you need to allocate PASID on all possible devices ?
> If so, does it need to be the same on all devices ?
The PASID allocator is global (not per-device), so the PASID is intended
to be the same for all devices. I only need to find a device for the
kfd2kgd interface pointer. In a multi-GPU system it doesn't matter which
one. They all share the same PASID allocator.

Technically, I think different devices could use different PASIDs for
the same process. But it would make the driver more complicated and
there is no reason to do this.

Regards,
  Felix




More information about the amd-gfx mailing list