]> Git Repo - linux.git/commit
drm/amdgpu: Add PASID management
authorFelix Kuehling <[email protected]>
Sat, 26 Aug 2017 00:40:26 +0000 (20:40 -0400)
committerAlex Deucher <[email protected]>
Tue, 26 Sep 2017 17:07:02 +0000 (13:07 -0400)
commit02208441cc3a5110191996bb129db39ff10e7395
treebb228597c2413583efc368295dcb2b5ad173b135
parentca290da8f6345c8e8e180256fbe092c751fa9654
drm/amdgpu: Add PASID management

Allows assigning a PASID to a VM for identifying VMs involved in page
faults. The global PASID manager is also exported in the KFD
interface so that AMDGPU and KFD can share the PASID space.

PASIDs of different sizes can be requested. On APUs, the PASID size
is deterined by the capabilities of the IOMMU. So KFD must be able
to allocate PASIDs in a smaller range.

Signed-off-by: Felix Kuehling <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/include/kgd_kfd_interface.h
This page took 0.050011 seconds and 4 git commands to generate.