From: Xiaogang Chen <[email protected]>

Use following work for device-private THP support in kfd driver to add
2MB/THP support in migration. The implementation enables efficient migration
of large folios between system memory and device-private memory.
    
https://lore.kernel.org/linux-mm/[email protected]/
 
Xiaogang Chen (4):
  drm/amdkfd: Add awareness of THP of device and system RAM in kfd svm
    driver
  drm/amdkfd: Change migration size in CPU/GPU page fault handler to THP
    size
  drm/amdkfd: Apply HMM THP zone device-private memory migration in kfd
    driver
  drm/amdkfd: Apply AMDGPU_PTE_FRAG to pte of gart page table for THP
    mapping

 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 290 ++++++++++++++++++-----
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c     |  17 +-
 drivers/gpu/drm/amd/amdkfd/kfd_svm.h     |  12 +
 3 files changed, 256 insertions(+), 63 deletions(-)

-- 
2.34.1

Reply via email to