commit | 7beb26dcedaa977ece5be7c712a66b7b6c66fc2b | [log] [tgz] |
---|---|---|
author | Philip Yang <Philip.Yang@amd.com> | Mon Sep 13 10:03:36 2021 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Sep 23 16:00:09 2021 -0400 |
tree | 83bdf08a5ed3cf05f321b1412fc8d9859e3c343c | |
parent | 6de0653f7719bd0aa61f683fba16ae0e2c4ead64 [diff] |
drm/amdkfd: SVM map to gpus check vma boundary 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 <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>