Re: [PATCH v2] drm/amdkfd: SVM map to gpus check vma boundary

2021-09-16 Thread Felix Kuehling
On 2021-09-16 5:11 p.m., Philip Yang wrote: SVM range may includes multiple VMAs with different vm_flags, if prange page index is the last page of the VMA offset + npages, update GPU mapping to create GPU page table with same VMA access permission. Signed-off-by: Philip Yang --- drivers/gpu/d

[PATCH v2] drm/amdkfd: SVM map to gpus check vma boundary

2021-09-16 Thread Philip Yang
SVM range may includes multiple VMAs with different vm_flags, if prange page index is the last page of the VMA offset + npages, update GPU mapping to create GPU page table with same VMA access permission. Signed-off-by: Philip Yang --- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 7 ++- 1 file cha