[PATCH 0/6] Userptr memory mapping support for KFD

Oded Gabbay oded.gabbay at gmail.com
Fri May 11 08:27:36 UTC 2018


On Fri, Mar 23, 2018 at 10:32 PM, Felix Kuehling <Felix.Kuehling at amd.com> wrote:
> Update of remaining patches from the GPUVM patch series. This should apply
> on top of the fixes I just sent out.
>
> Felix Kuehling (6):
>   drm/amdgpu: Add MMU notifier type for KFD userptr
>   drm/amdgpu: Enable amdgpu_ttm_tt_get_user_pages in worker threads
>   drm/amdgpu: Avoid reclaim while holding locks taken in MMU notifier
>   drm/amdkfd: GFP_NOIO while holding locks taken in MMU notifier
>   drm/amdkfd: Add quiesce_mm and resume_mm to kgd2kfd_calls
>   drm/amdgpu: Add userptr support for KFD
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h       |  12 +
>  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 572 ++++++++++++++++++++++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c           |   2 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c           | 111 ++++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h           |  11 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c          |  38 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_device.c          |  40 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_module.c          |   2 +
>  drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c |   2 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c  |   2 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_priv.h            |   4 +
>  drivers/gpu/drm/amd/amdkfd/kfd_process.c         |  10 +-
>  drivers/gpu/drm/amd/include/kgd_kfd_interface.h  |   6 +
>  13 files changed, 746 insertions(+), 66 deletions(-)
>
> --
> 2.7.4
>

Hi Felix,

Patch 1, 5 & 6 are reviewed by me.
Patches 2 & 3 are fine but I would like approval from Alex/Christian
Patch 4 - I think we can do better. See my comments there.

Thanks,
Oded


More information about the amd-gfx mailing list